Skip to main content
# 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)
```

Metadata

Release files for Lector 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Lector 0.0.3
File Size Uploaded Provenance Actions
Lector-0.0.3.tar.gz 9.0 kB Without provenance Details for Lector-0.0.3.tar.gz

Release files / Lector-0.0.3.tar.gz

Download URL Lector-0.0.3.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a739b89268620d2e583c046829c6cd610191c160e9028cc4e1d8d32a3e2421e5
BLAKE2b-256 checksum
How to use checksums
b7d4f1bc3e6c5a4a4f0d521ee7f920431e3801b0a46bd288cc5673e3c694a754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Lector 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page