all-about-apikey/bhagavad-gita
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

Bhagavad Gita

Description

Open Source Shrimad Bhagavad Gita API including 21+ authors translation in Sanskrit/English/Hindi

Example Request

  • Curl
curl https://bhagavadgitaapi.in/slok?api_key={{token}}
  • Raw
GET /slok?api_key={{token}} HTTP/1.1
Host: bhagavadgitaapi.in

Response

  • Success
{
    "_id":"BG17.7",
    "chapter":17,
    "verse":7,
    "slok":"आहारस्त्वपि सर्वस्य त्रिविधो भवति प्रियः |\nयज्ञस्तपस्तथा दानं तेषां भेदमिमं शृणु ||१७-७||",
    "transliteration":"āhārastvapi sarvasya trividho bhavati priyaḥ .\nyajñastapastathā dānaṃ teṣāṃ bhedamimaṃ śṛṇu ||17-7||",
    "tej":{
        "author":"Swami Tejomayananda",
    ...
  • Error
{
    "error":"Invalid api key or given is not provided!"
}

Regex

[a-z0-9]{17}

Example API key

id8hnkf8jzgpgf2bv