Giter Club home page Giter Club logo

cowin_vaccine_telegram_notifier's Introduction

COWIN Vaccine Availability Telegram Notifier

With the initiation of the COVID vaccination drive across India for all 18+ individuals, I wrote a python script which with the help of telegram alerts the user regarding open slots in the vicinity! This script can used for both age group alerts 18-44 and 45+ both.

Check it out!

Prerequisites

  • To deploy the script you must be having a server which you can serve 24*7.
  • Telegram Id, Telegram bot and Telegram Channel (All are free).

Installation

  1. Clone this repo if you are having linux server or just copy the cowin.py from the repo.
git clone https://github.com/SP4RKiOP/Cowin_vaccine_telegram_notifier.git
  1. This script is using the api of search by district, so first get your district id from cowin site, api is provided there for the same.
  2. Create your Telegram bot and copy the HTTP API provided by the Botfather.
  3. Create a Telegram channel and make it public, add the bot to that channel, copy the channel id of your channel. Bot's HTTP API example-

Channel ID is the text after the forward slash:-

5. Go through the script for any age change or any data search parameter change you want to make. 6. Now if you are using linux just use crontab to make this script run every 1min or 30sec(with sleep30) commands.(google) 7. After sucessfull creation your channel should give you notifications like this:-

8. GET VACCINATED, STAY HEALTHY.

cowin_vaccine_telegram_notifier's People

Contributors

raj00114 avatar sp4rkiop avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

theroyalraj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.