Readwise api client
Project description
Python Module to use the Readwise API
This module is a wrapper for the Readwise API.
It allows you to easily access your Readwise data in Python.
Installation
pip install -U readwise
Quickstart
Readwise API
from readwise import Readwise
client = Readwise('token')
books = client.get_books(category='articles')
for book in books:
highlights = client.get_book_highlights(book.id)
if len(highlights) > 0:
print(book.title)
for highlight in highlights:
print(highlight.text)
Readwise Readwise API
from readwise import ReadwiseReader
client = ReadwiseReader('token')
response = client.create_document('https://www.example.com')
response.raise_for_status()
Documentation
The latest documentation can be found at https://rwxd.github.io/pyreadwise/
If you've checked out the source code (for example to review a PR), you can build the latest documentation by running make serve-docs
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
readwise-1.0.10.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file readwise-1.0.10.tar.gz
.
File metadata
- Download URL: readwise-1.0.10.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae981324bd0a245d8a5e1b4356dcc6743cbbc0f4e6c20e5b103e0c99d9f2a29 |
|
MD5 | d3467dda2e04c87d4b5f9188cf5a9359 |
|
BLAKE2b-256 | cf4e5422ba9cb99f5a6ba82e3c2101d02db167cc96fe5e9bf604f1514005c3c0 |
File details
Details for the file readwise-1.0.10-py3-none-any.whl
.
File metadata
- Download URL: readwise-1.0.10-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5359a3e8255f0fd484c2f08ddccfbbe94f550a3c34d9df07f0ab77364504fa |
|
MD5 | b11511c6d1f890ec2e79d9a29f3b4509 |
|
BLAKE2b-256 | 1f5bf9c42af8c521e1a7923ca2c94098ff918045339287dad22c94e677be5ece |