Giter VIP home page Giter VIP logo

cowin_vaccine_notifier's Introduction

Warning

We will be using Cowin public API and it is advisable not to overwhelm the Cowin's system with lot of API calls as your IP may get blocked.

Cowin Vaccine Notifier

Python(3.7) script to automate the notification of Cowin vaccine slots availability. You can schedule this script in Windows Task Scheduler or Crontab in Linux/Ubuntu systems. I will add information on how to schedule this on Amazon Web Services Cloud as soon as possible.

Pre requisite

pip install twilio

Important points about Twilio

Twilio API has been used to send SMS notification. There are some steps that you need to follow.

  1. Sign up for a free account on Twilio: https://www.twilio.com/.
  2. After logging in, add your phone number on which you want to receive SMS notifications.
  3. You'll also have to create a US/Canada phone number (free). You will get some TRIAL BALANCE (around 15 USD).
  4. On the Dashboard page, make a note of the "ACCOUNT SID" and "AUTH TOKEN". These values will be used in "sendSMS()" function.
  5. Once your Twilio account set up is complete, you can create environment variables TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN and use them in the sendSms() function.
  6. Twilio's SMS API has limitation of 1600 characters.

cowin_vaccine_notifier's People

Contributors

aksashu000 avatar

Watchers

James Cloos 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.