gita / bhagavad-gita-api

Bhagavad Gita API is an open-source API that lets anyone use the text from Srimad Bhagavad Gita in their own web or mobile application(s).

Home Page:https://rapidapi.com/bhagavad-gita-bhagavad-gita-default/api/bhagavad-gita3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Sanskrit Recitations

Gupta-Anubhav12 opened this issue · comments

Adding Sanskrit recitations from a reliable source to backend, making the field for that and deciding a cdn service for audio files,
as of now we can add the audio files along with JSON stored in https://github.com/gita/gita repo and it would work

The recitations have been merged to json repo,
now the API has to be modified for sending out audio from endpoints

created resolver function for adding Sanskrit recitation url to the API and have made necessary changes in following files

  • .env.example - added recitation_url host
  • api/api_v2/endpoints/gita.py - modified resolver function to include recitation url
  • models/schemas.py - added the recitation url field