API for Kevin Kelly's Unsolicited Advice

Usage:

GET /api/advice - Returns a random advice

GET /api/advice/all - Returns all advice

GET /api/advice/:id - Returns a specific advice based on id (1 to 371)

Example:

Get advice with id = 7 by sending a GET request to /api/advice/7 will return the following JSON:

"id": 7,"advice": "Gratitude will unlock all other virtues and is something you can get better at.","source": "https://kk.org/thetechnium/68-bits-of-unsolicited-advice/"

Home