Skip to content

A Small POC Project that sends out a notification message on your Mobile Devices whenever there are vaccinations available in your District. In-Depth Details are also available as a part of the notification message via the IFTTT application. Written in C# .NET 5.0.

Notifications You must be signed in to change notification settings

iammukeshm/cowin-vaccine-notifier

Repository files navigation

COWIN VACCINE NOTIFIER

A Small POC Project that sends out a notification message on your Mobile Devices whenever there are vaccinations available in your District. In-Depth Details are also available as a part of the notification message via the IFTTT application. Written in C# .NET 5.0.

Here are a few screenshots of the notifications you would be receiving.

Event Event

Event

Setting up the Application

  • Install the IFTTT Application on to your mobile device.
  • Configure IFTTT as mentioned in this article.
  • Set the default trigger name of your new IFTTT applet as vaccination-available

Quick Video of the setup - https://user-images.githubusercontent.com/31455818/116820335-1e7cc380-ab92-11eb-9d8d-a5ef5a29f2ba.mp4

Event

  • Replace IFTTT_ApiKeyvalue in the appsettings.json file of the Console project to your API Key.

You can find your apiKey by clicking on your IFTTT profile picture -> My Services -> Webhooks -> Documentation . Here you will be able to see your applet's API Key.

  • Replace IntervalInMinutes and DistrictIdas well with the required data.

District Codes

  • Trivandrum - 296
  • Kollam - 298
  • Chennai - 571
  • Kanyakumari - 574
  • Central Delhi - 141
  • Bangalore Urban - 265
  • Bangalore Rural - 276

As of now, I am only adding in a few of the Districts. You can get the required district by a simple hack.

  • Navigate to CoWIN Portal.
  • Open Developer Tools -> Network Tab
  • Select the Required State from the UI.
  • Check the Data in the Network Tab. Screenshot attached below

Getting Districts

IMPORTANT

Please do not abuse this API endpoint as it is something very critical. Avoid sending requests to the API Endpoint every few minutes. I recommend an interval of 20 minutes ideally.

About

A Small POC Project that sends out a notification message on your Mobile Devices whenever there are vaccinations available in your District. In-Depth Details are also available as a part of the notification message via the IFTTT application. Written in C# .NET 5.0.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages