A non-official client for Goodreads (https://goodreads.com)
Project description
A lightweight wrapper around the Goodreads API
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
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
Built Distribution
Close
Hashes for goodreads_api_client-0.1.0.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a113e85179a08918d98b3152251c810f65a11114824193fad909b38622a40c6b |
|
MD5 | 1a33b01d4b02ea7cc87e9189a9bcb568 |
|
BLAKE2b-256 | 79b66bcc27b832c4668d197f35b3b37b1c7b8ce8b7d9dcdb61525d233c43aeca |
Close
Hashes for goodreads_api_client-0.1.0.dev4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb36e585cb2778a45dc4fa5f17d143d0bd80f5328d5c14511e914b2cb99c01c9 |
|
MD5 | 9ddd626d5aaac4c9009f8c8e6943e71a |
|
BLAKE2b-256 | 1f03c7c9e027761d382a92c0cb4acf3bf1650ac2e844fd55851e08ccf950687a |