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.12.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for readwise-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a2a1b24a14f48140edb6b4ddd5c2530c257ba03e596558620a1e38518dce6a |
|
MD5 | 9fe544c63df47036c6b8b12577396772 |
|
BLAKE2b-256 | 2e61fe55641a2a82150c3ba719d7703c233ad2401933c7880f18e3b81d923679 |