Skip to content

A Python script that will detect any change of the current CORONA status in the data given in the website of MINISTRY OF HEALTH AND FAMILY WELFARE and throws a message into slack

License

Notifications You must be signed in to change notification settings

pronayguha13/COVID19_BOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID19_BOT

A python script when run will scans the official Government website and throws notifications to Slack when new cases arise (Ministry of Health and Family Welfare)

  • You need a Slack account + Slack Webhook to send slack notifications to your account
  • Install dependencies by running
pip install tabulate
pip install requests
pip install beautifulsoup4
pip install -r requirements.txt

Creating SLackWebHookUrl

  • Create a Slack account
  • Create a Workspace
  • Go to settings via your app's management dashboard
  • From here select the Incoming Webhooks feature, and click the Activate Incoming Webhooks toggle to switch it on.
  • Go ahead and pick a channel that the app will post to, and then click to Authorize your app.
  • You'll get a new field named webhookURL

Post your CustomWebhookUrl in auth.py

DEFAULT_WEBHOOK_URL = "https://hooks.slack.com/services/{Custom_webhook_URL}"

click on this URL

https://tinyurl.com/wfrftsc

About

A Python script that will detect any change of the current CORONA status in the data given in the website of MINISTRY OF HEALTH AND FAMILY WELFARE and throws a message into slack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages