Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A non-official client for Goodreads (https://goodreads.com)

Project description

A lightweight wrapper around the Goodreads API

PyPi page link -- version https://travis-ci.org/mdzhang/goodreads-api-client-python.svg?branch=master PyPi page link -- MIT license PyPi page link -- Python versions Code Climate RTD Docs

Installation

$ pip install goodreads_api_client

Usage

>>> import goodreads_api_client as gr
>>> client = gr.Client(developer_key='<YOUR_DEVELOPER_KEY>')
>>> book = client.Book.show('1128434')
>>> keys_wanted = ['id', 'title', 'isbn']
>>> reduced_book = {k:v for k, v in book.items() if k in keys_wanted}
>>> reduced_book
{'id': '1128434', 'title': 'The Last Wish (The Witcher, #1)', 'isbn': '0575077832'}

Resources

Rationale

There are a number of Goodreads API wrapper libraries out there, but most are either abandoned or the code is some combination of odd, undocumented, untested, or incomplete in its API coverage.

Contributing

To install locally

$ make install

And to test

$ make test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
goodreads_api_client-0.1.0.dev4-py2.py3-none-any.whl (29.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 28, 2018
goodreads_api_client-0.1.0.dev4.tar.gz (11.9 kB) Copy SHA256 hash SHA256 Source None May 28, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page