Giter Club home page Giter Club logo

kannurvaccinetracker's Introduction

Intro

Initially made into a bot (not deployed on any cloud yet) to find Vaccine Centres in Kannur, Kerala for people under the Age 45 (and above 18). This CANNOT book slots automatically. Only use this to check for slots.

  • Made using the cowin-api Click here for Api Setu Site

  • Updates might not be real time as documentation mentions "data can be cached and may be up to 30 minutes old".

  • Won't send a message if availability of Vaccine < 10 (No point doing that)

  • Sends message using telegram. If you want to configure to your own requirements, you must have your own Telegram token and other data to send message to telegram. If you simply want to run the program, refer to Configuring Telegram Bot or just remove line 78, 86, 96 in main.py (shown below):

send_new_msg(txt, center)
cleaning_db()
telegram_required()

Configuring Telegram bot

Refer to this video. Though the video is a bit long, it does a good job of explaining what needs to be done in order to configure the telegram bot.

Modifying for other districts

  • The code can also be modified to check availability in any other district. The code can be modified to check availability of Covid-19 Vaccine for any district in India. To see all district codes, click on this link to view csv containing District ID's . On finding your required district, copy paste it into line number 22 in main.py
  • For example:
dist_id = "INSERT_DISTRICT_ID HERE"

(ie)

dist_id = "512"
  • Fin.
Additional Info

Buy Me A Coffee

Hits

kannurvaccinetracker's People

Contributors

mohdaadilf avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.