openlibrary

A Python Interface for the OpenLibrary API


License
GPL-3.0+
Install
pip install openlibrary==0.0.1

Documentation

pyopenlibrary

Python Interface for the Open Library API

Documentation

See the API documentation

Install

pip install openlibrary

Usage

import openlibrary
api = openlibrary.BookSearch()
res = api.get_by_author('greg egan')

res.docs[:5]
[<Document: [Greg Egan] Distress>,
 <Document: [Greg Egan] Diaspora>,
 <Document: [Greg Egan] Quarantine>,
 <Document: [Greg Egan] Teranesia>,
 <Document: [Greg Egan] Schild's ladder>]

res.docs[0].lang
u'eng'