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.

Source Distribution

Lector-0.0.3.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file Lector-0.0.3.tar.gz.

File metadata

  • Download URL: Lector-0.0.3.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Lector-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a739b89268620d2e583c046829c6cd610191c160e9028cc4e1d8d32a3e2421e5
MD5 90fc3b3eb22024287950e61c93b40745
BLAKE2b-256 b7d4f1bc3e6c5a4a4f0d521ee7f920431e3801b0a46bd288cc5673e3c694a754

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page