Wrapper for the Goodreads Quote API
Project description
About
quote is a python wrapper for the Goodreads Quote API, powered by gazpacho.
Usage
quote is simple to use:
import json
from quote import search
query = 'blake crouch'
result = search(query, limit=2)
json.loads(result)
# [{'author': 'Blake Crouch',
# 'book': 'Dark Matter',
# 'quote': "We're more than the sum total of our choices, that all the paths we might have taken factor somehow into the math of our identity."},
# {'author': 'Blake Crouch',
# 'book': 'Dark Matter',
# 'quote': 'No one tells you it’s all about to change, to be taken away. There’s no proximity alert, no indication that you’re standing on the precipice. And maybe that’s what makes tragedy so tragic. Not just what happens, but how it happens: a sucker punch that comes at you out of nowhere, when you’re least expecting it. No time to flinch or brace.'}]
Installation
pip install quote
Contribute
For feature requests or bug reports, please use Github Issues
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quote-0.5.tar.gz
(2.4 kB
view hashes)