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 details)

Uploaded Source

File details

Details for the file quote-0.5.tar.gz.

File metadata

  • Download URL: quote-0.5.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for quote-0.5.tar.gz
Algorithm Hash digest
SHA256 3d38d6f07ff45801e6f611d0dfab199b10687427672e276434a313a219d14092
MD5 773eda0118ed3fc8f20b8684fa1c0652
BLAKE2b-256 cd301a036b9916f0e01b819526d85918da253ef75c40da76e1487ef32383682a

See more details on using hashes here.

Supported by

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