pygita is a wrapper of bhagavadgita.io api for Python 3
Install it from pypi using pip
pip install pygita
-
Register on bhagavadgita.io
-
Create App
-
Copy Client Id and Client Secret
from pygita import Client
client = Client(CLIENT_ID, CLIENT_SECRET)
verse = client.get_verse(verse_number, chapter_number)
chapter = client.get_chapter(chapter_number)
1. chapter_number
2. chapter_summary
3. name
4. verses_count
5. name_meaning
6. name_translation
7. name_transliterated(in English only)
8. name_meaning(in Hindi only)
1. chapter_number
2. verse_number
3. text
4. meaning
5. transliteration
6. word_meanings