We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
这将是一个令人惊奇的网络服务。亚马逊不为此提供 API。您可以在 kindle.amazon.com 上在线阅读公开集锦,但是,您还无法通过 API 将任何公开集锦集成到您的应用程序中。看来新的 Kindle Developers Kit 纯粹是为了在 Kindle 上创建应用程序,而且这个 kdk 中甚至没有用于访问公共亮点的 API 方法。
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.
无耻的插件警报..
我编写了一个小型 PHP 类,可以帮助解决此问题:Kindle_Highlights
你可以在 github 上获取它 。
欢迎提出改进意见/建议。
我将在接下来的几周内改进/扩展它,但你应该能够获得你的 Kindle 亮点。
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.
用户登录后可以通过访问其“您的亮点”页面在网络上查看他们的亮点。据我所知,没有 API,也没有任何类型的 OAUTH 可以做,所以目前最好的解决方案是获取用户的亚马逊用户名/密码并从该页面中删除它们。
有总比没有好,但真正的 API 会激发我在 Kindle 亮点上想到的很多很酷的想法。
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.
您随时可以在 kindle.amazon.com 上抓取该书的页面。我在js中编写了一个脚本来做到这一点,然后将其打包为一个Chrome插件,可以点亮在 Kindle 图书页面上时,但是(当然)亚马逊在一两周前刚刚更新了 DOM,现在需要更新以反映新的语义结构。这凸显了这种方法的弱点。 =\
希望有一天亚马逊能为我们提供一个 API,尽管我怀疑这可能会违反他们与出版商的协议。
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.