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
How to use
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.13.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file readwise-1.0.13.tar.gz
.
File metadata
- Download URL: readwise-1.0.13.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5014cedfd162a77ac446436598ffd1d29d9b8daec680c931abe3580d886906a9 |
|
MD5 | edcd63f1d8567a3b32576c728654a649 |
|
BLAKE2b-256 | 36b53f3d05ec55cdb5a8f855f0975816b7d4ac9d55498c50dfe13e7d8de028f8 |
File details
Details for the file readwise-1.0.13-py3-none-any.whl
.
File metadata
- Download URL: readwise-1.0.13-py3-none-any.whl
- Upload date:
- Size: 6.4 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 | 12880903f409f1819f7af5ad3eee9e43564a2748278b0c122940cd7b08eaeed7 |
|
MD5 | 0b50bc3666f7ecc37f76ed335cdad35f |
|
BLAKE2b-256 | 2ba328aa0092d6e0e12ae8f7a3bd630c0d63d237ee02281fe2f21d2eccc64708 |