buddha daily wisdom image

API

Random Buddha Quote

Get a random quote from the Pali Canon (excluding the dhammapada)

Use a http client and make a HTTP GET request to:

http://buddha.co.za/api/discourse/random

The example below uses httpie:

http http://buddha.co.za/api/discourse/random

HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 98
Content-Type: application/json
Date: Thu, 09 Feb 2023 20:15:46 GMT
Server: nginx

{
    "content": "… who stay in the wilderness is Revata of the Acacia Wood. ",
    "discourse": "an.1.203"
}

API Documentation

Documentation for the api: http://buddha.co.za/api/docs