Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 643 Bytes

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.