bhagavad-gita-api
bhagavad-gita-api copied to clipboard
Create a callback function for "Verse of the Day"
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/
Depends on #43
Hi @samanyougarg , I want to work on this issue
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/