Bookshare API wrapper
Project description
Bookshare API Wrapper
A Python wrapper for the Bookshare API that provides access to accessible books and educational materials.
Installation
uv add bookshare
Usage
from bookshare import BookshareAPI
# Initialize with API key
api = BookshareAPI(API_key="your_api_key")
# Search for books
results = api.title_search("python programming")
# Get book details
book = api.isbn_lookup("9780134685991")
API Methods
category_list()- Get available book categoriesgrade_list()- Get available grade levelstitle_search(query)- Search books by titleauthor_search(query)- Search books by authorisbn_lookup(isbn)- Get book by ISBNbook_lookup(book_id)- Get book by Bookshare IDlatest()- Get latest bookspopular()- Get popular booksdownload(book_id, version)- Download book content
Development
# Clone and setup
git clone https://github.com/accessibleapps/bookshare.git
cd bookshare
uv sync --extra dev
# Run tests
uv run pytest
# Run linting
uv run ruff check .
uv run ruff format .
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
bookshare-0.11.0.tar.gz
(141.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters