Skip to content
πŸ“š quote is a wrapper for the Goodreads Quote API
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
quote paint it black Oct 9, 2019
tests
.gitignore better readme Oct 8, 2019
.travis.yml
LICENSE
README.md
quote.png quote release, now powered by gazpacho Sep 25, 2019
setup.py bump to 3.7 Oct 9, 2019

README.md

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:

from quote import quote

search = 'Jasper Fforde'
result = quote(search, limit=2)
print(result)

# [{'author': 'Jasper Fforde',
#   'book': 'Something Rotten',
#   'quote': 'If the real world were a book, it would never find a publisher. Overlong, detailed to the point of distraction-and ultimately, without a major resolution.'},
#  {'author': 'Jasper Fforde',
#   'book': 'The Well of Lost Plots',
#   'quote': "After all, reading is arguably a far more creative and imaginative process than writing; when the reader creates emotion in their head, or the colors of the sky during the setting sun, or the smell of a warm summer's breeze on their face, they should reserve as much praise for themselves as they do for the writer - perhaps more."}]

quote can also be used as a command line tool:

>>> max@mbp$ quote 'alain de botton'
People only get really interesting when they start to rattle the bars of their cages.

>>> max@mbp$ quote --search='alain de botton'
Intimacy is the capacity to be rather weird with someone - and finding that that's ok with them.

Installation

pip install -U quote

Contribute

For feature requests or bug reports, please use Github Issues

You can’t perform that action at this time.