问题描述
有人知道从用户的Amazon Kindle Library中以编程方式获取书籍列表的方法吗?我想建立一个借书服务.理想情况下,用户将能够导出他们愿意借出的书的列表,而不必分别键入每本.我相信亚马逊可能为此提供了某种API,但一直找不到任何文档.我对此或多或少与语言无关.预先感谢任何有建议的人.
Does anyone know of a way to programmaticly get a list of books from a user's Amazon Kindle Library? I would like to build a service for lending books. Ideally users would be able to export a list of books they are willing to lend without having to type each one individually. I believe Amazon may have some sort of API for this but have been unable to find any documentation. I am more or less language agnostic on this one. Thanks in advance for anyone who has any suggestions.
推荐答案
解决方案:用户可以选择将其kindle作为可移动驱动器安装,并进一步将其所有电子书文件拖放到页面上.然后,我解析包含ASIN的所有文件名.使用ASIN,我可以在Amazon上搜索书籍信息,包括是否可借出的信息.
Solution: The user is given an option to mount their kindle as a removable drive, and further to drag/drop all of their ebook files onto the page. I then parse all the file names which contain the ASIN. Using the ASIN, I can search Amazon for the book information including if it is lendable or not.
这不完全是我想要的,但是效果很好.如果有人想出一个更有说服力的解决方案,我将非常有兴趣!
This is not exactly what I was hoping for, but it works good enough. If someone comes up with a more eloquent solution, I would be very interested!
这篇关于获取Kindle Library图书清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!