Back to Entries
Tags: kindle api webscraping quantifiedself
Status: release
Date: 2014-10-16

Kindle Highlights


Today, I made a few highlights in my Kindle on the way to work. Then, I wanted to throw all the text somewhere and do something with it. Searching kindle api yielded unsatisfactory results, but kindle ruby led me to a kindle-highlights ruby .gem that scrapes the kindle website and makes the data available for reuse.

@client = KindleHighlights::Client.new(username, password)
@client.books 
# book_id's for hash keys, 'highlights' for hash values

My Kindle Highlights are viewable online here, and are updated at least once per week, by an automated job.