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
182 stars 34 forks source link

Create a callback function for "Verse of the Day" #42

Open samanyougarg opened 3 years ago

samanyougarg commented 3 years ago

Create a callback function that queries the vese_of_the_day table at let's say 6 am IST every day and notifies all the subscribed applications of the latest verse of the day.

We could later use this for our own bots. So, when the API notifies our bots of the latest "Verse of the Day", our bots will parse and post it to the relevant social media channel.

Reference guide: https://fastapi.tiangolo.com/advanced/openapi-callbacks/

samanyougarg commented 3 years ago

Depends on #43

devkapilbansal commented 1 year ago

Hi @samanyougarg , I want to work on this issue

Gupta-Anubhav12 commented 1 year ago

Hey So basically we've a cron job that posts a verse of the day daily to our Twitter Handle and now we have to make a callback function so that people can subscribe to the daily verse and we send them daily verse, something like a push notification Please find the reference here :- https://fastapi.tiangolo.com/advanced/openapi-callbacks/