How to access Kindle Highlights (API?) [closed]

我与影子孤独终老i 提交于 2019-12-02 14:37:05
John Paul Hayes

Shameless plug alert..

I've written a small PHP class that can help with this: Kindle_Highlights

You can get it on github.

Comments/suggestions welcome on improving it.

I will be improving/expanding this over the next few weeks, but as is you should be able to get at your kindle highlights.

THis would be an amazing web service. Amazon does not offer an api for this. You can read public highlights online at kindle.amazon.com, however, you cannot integrate any public highlights into your apps via an API yet. It seems that the new Kindle Developers Kit is purely for creating apps on the kindle and there is not even an api method for accessing public highlights in this kdk.

You can always just scrape the book's page at kindle.amazon.com. I wrote a script in js to do this and then packaged it up as a Chrome plugin that lights up when on Kindle book page, but (of course) Amazon just updated the DOM a week or two ago and now it needs to be updated to reflect the new semantic structure. This highlights the weakness of this approach. =\

Hopefully someday Amazon will provide us with an API, though I suspect that this might run against their agreements with publishers.

A user can see their highlights on the web after logging in by going to their "your highlights" page. As far as I know, there isn't an API, nor is there any sort of OAUTH thing that you could do so currently the best possible solution would be to get your user's amazon username/password and scrape them from that page.

It's better than nothing, but a real API would open up a lot of cool ideas that I've had on kindle highlights.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!