Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 494 Bytes

File metadata and controls

20 lines (17 loc) · 494 Bytes

pyopds2_openlibrary

An Open Library DataProvider for the pyopds2 library

Simple Example

git clone https://github.com/ArchiveLabs/pyopds2_openlibrary.git
cd pyopds2_openlibrary
virtualenv env
source ./env/bin/activate
pip install pyopds2 httpx
python
from pyopds2 import Catalog
from pyopds2_openlibrary import OpenLibraryDataProvider
catalog = Catalog.create(OpenLibraryDataProvider.search("Libraries of the future by J C R Licklider"))
catalog.model_dump_json()