Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 605 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 605 Bytes

covid-vaccine-alert-bot

A python script which takes vaccine availability details from CoWin API and sent to Telegram channel via a Telegram bot.

Changes to be made in code

  • Change "enteryourbotidhere" to your bot id in line no. 7
  • Enter your telegram group id in line no. 12
  • If the header is not working in line no. 21 try changing the header to your personal header. (https://www.whatismybrowser.com/detect/what-is-my-user-agent)
  • In line 61, chenge the parameter to desired district id, which can be obtained from CoWin website.

To Do

  • Automate the script to run 24*7 every 5 seconds.