Skip to content
Fake Sun Tzu's The Art of War quote generator
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.
app
.gitignore
Procfile
README.md
requirements.txt
runtime.txt

README.md

suntzu-generator

suntzu-generator is a bogus The Art of War quote generator API.

Run out of quotes from Sun Tzu? Spin this application up in Heroku and start serving fake quotes in JSON format.

Install

Usage

Get a random bogus quote

$ curl https://<application>.herokuapp.com/v1/getquote

Get quote for Twitter (max. 140 characters)

$ curl https://<application>.herokuapp.com/v1/gettweet

Healthcheck URI for Uptime Robot, Pingdom etc.

$ curl https://<application>.herokuapp.com/v1/healthcheck
You can’t perform that action at this time.