pygita 2.0.0

Last updated:

0 purchases

pygita 2.0.0 Image
pygita 2.0.0 Images
Add to Cart

Description:

pygita 2.0.0

pygita
pygita is a wrapper of bhagavadgita.io api for Python 3














Installation
Install it from pypi using pip
pip install pygita

Authentication


Register on bhagavadgita.io


Create App


Copy Client Id and Client Secret


Usage
1. Create a client
from pygita import Client
client = Client(CLIENT_ID, CLIENT_SECRET)

2. Get a verse
verse = client.get_verse(verse_number, chapter_number)

3. Get a chapter
chapter = client.get_chapter(chapter_number)


Objects
Attributes of Chapter objects
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)


Attributes of Verse objects
1. chapter_number
2. verse_number
3. text
4. meaning
5. transliteration
6. word_meanings

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.