REST api to view and send daily quote as SMS from goodreads.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Procfile
README.md
app.py
requirements.txt
runtime.txt

README.md

goodread-quotes-api

REST api to view and send daily quote as SMS from goodreads.com using goodreads_quotes lilbrary.

The api is live at: http://goodreads-quotes-api.herokuapp.com

Installation

$ git clone https://github.com/sandipbgt/goodreads-quotes-api.git
$ cd goodreads-quotes-api
$ pip install -r requirements.txt
$ gunicorn app:app

API Usage

GET: http://goodreads-quotes-api.herokuapp.com/api/quote/daily

Description: Returns quote of the day

GET: http://goodreads-quotes-api.herokuapp.com/api/quote/popular

Description: Returns popular quotes of the day

POST: http://goodreads-quotes-api.herokuapp.com/api/quote/daily/send

Description: Send quote of the day as SMS using Twilio API

Params:

  • account_sid: Twilio API account sid
  • auth_token: Twilio API auth token
  • to_phone: Phone number to send sms
  • from_phone: Your Twilio phone number

Contributing

Feel free to submit a pull request or an issue!