A free, read-only JSON API of the Bhagavad Gita in English (en) and Nepali (ne).
Every verse has a short version (the plain meaning) and an explained version (context, key terms and the lesson).
Every URL also works with .json on the end.
| /api/v1 · .json | API info |
| /api/v1/version · .json | Content hash and counts: poll this, not the data |
| /api/v1/en · .json | Chapters (en) |
| /api/v1/en/all · .json | Everything in one file (en) |
| /api/v1/en/2 · .json | Chapter 2 with its verses (en) |
| /api/v1/en/2/47 · .json | Verse 2.47, short (en) |
| /api/v1/en/2/47/explained · .json | Verse 2.47, explained (en) |
| /api/v1/ne · .json | Chapters (ne) |
| /api/v1/ne/all · .json | Everything in one file (ne) |
| /api/v1/ne/2 · .json | Chapter 2 with its verses (ne) |
| /api/v1/ne/2/47 · .json | Verse 2.47, short (ne) |
| /api/v1/ne/2/47/explained · .json | Verse 2.47, explained (ne) |
English and Nepali texts: CC BY 4.0. Sanskrit: public domain. Code: MIT. Source: github.com/rojinc/BhagavadGita.
Endpoints: /api/v1, /api/v1/version, /api/v1/{lang}, /api/v1/{lang}/all, /api/v1/{lang}/{chapter},
/api/v1/{lang}/{chapter}/{verse}, /api/v1/{lang}/{chapter}/{verse}/explained.
A link to something not written yet is null.