Skip to main content

Wrapper for the Goodreads Quote API

Project description

quote

MIT Travis PyPI Downloads

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page