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).
https://rapidapi.com/bhagavad-gita-bhagavad-gita-default/api/bhagavad-gita3
MIT License
183 stars 35 forks source link

:rocket: feat--Gita-Transliteration #80

Closed Srishtikumari2002 closed 2 years ago

Srishtikumari2002 commented 2 years ago

Description

I have added transliterations in the API. I have created a new model named GitaTransliteration in models/gita.py and added schemas for the respective model in models/schemas.py and have created transliterations.py to add data in the databse from the github repo.

Type of change

Checklist:

Gupta-Anubhav12 commented 2 years ago

Hey @Srishtikumari2002 This is really great and cool but there is one more thing that has to be done before merging this, this won't go to main because it has introduced a breaking change one thing that is missing is to remove the old transliterations, the english ones refer here

and we will have to merge current english transliterations from verse.json to transliterations file then we'll be good to roll out this as an update with multiple language support

Gupta-Anubhav12 commented 2 years ago

Hey @Srishtikumari2002 This is really great and cool but there is one more thing that has to be done before merging this, this won't go to main because it has introduced a breaking change one thing that is missing is to remove the old transliterations, the english ones refer here

and we will have to merge current english transliterations from verse.json to transliterations file then we'll be good to roll out this as an update with multiple language support

basically what we need to do right now is to remove english transliterations from verse schema and to add that into transliterations schema, where all other languages are

Srishtikumari2002 commented 2 years ago

Hey, I have cleaned the json data in feat--new-languages branch of repo gita/gita and made required changes into the code as well. I think now we are good to go for an update.

Gupta-Anubhav12 commented 2 years ago

Hey, This works well, merging now so we can get this merged and get a we're ready for v2 :partying_face: