Skip to main content

An API for Amazon Kindle Data

Project description

# Lector
An API for your Kindle data.

Python bindings are provided but any language that can run the javascript
found in `api.py` from within a Kindle Cloud Reader session may easily access
this data.

### Dependecies
**PhantomJS**:

* OS X (Homebrew)
* ```brew install phantomjs```
* Ubuntu (at least 14.04)
* Guide provided and maintained by @julionc
[here](https://gist.github.com/julionc/7476620)

### Usage
```python
import lector

api = lector.KindleCloudReaderAPI('my_amazon_username', 'my_amazon_password')
my_library = api.get_library_metadata()
book = my_library[0]
book_progress = api.get_book_progress(book.asin)
_, current_page, last_page = book_progress.page_nums

print 'Currently reading %s (Page %d of %d)' % (book.title, current_page, last_page)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Lector, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size Lector-0.0.3.tar.gz (9.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page