Giter Site home page Giter Site logo

shubhayu-64 / cowin-notifier Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 444 KB

This is a python script that tweets available slots on the Cowin website for 18+ age range. This uses the Cowin Public APIs.

Home Page: https://twitter.com/cowin_notifier

License: MIT License

Python 100.00%
twitter twitterapi covid-19 covid19 cowin cowin-metadata-api vaccine vaccine-tracker vaccine-availability vaccine-information

cowin-notifier's Introduction

Cowin-Notifier

This is a python script that tweets available slots on the Cowin website for 18+ age range. This uses the Cowin Public APIs.

The Twitter handle of the Bot: @Cowin_Notifier

Features

  • Find any open slots in any district and tweet important information.
  • Runs 24/7 and updates at an interval of 1 hour.

Installation

  1. Clone the repo or download manually.
git clone https://github.com/shubhayu-64/Cowin-Notifier.git
  1. Move to cloned/downloaded directory cd Cowin-Notifier
  2. Run pip install requirements.txt
  3. Update config.py with your Twitter API credentials.
  4. Start the script by python main.py

Screenshots

Profile Image

  • Tweets posted.

Tweets Image

  • Terminal of the script

Terminal Image

Deploying

Since Cowin APIs are Geo-fenced, it might be difficult to get responses if hosted somewhere else.

I have hosted in my Raspberry Pi 3 Model B+ with my local network. This solved the issue for me.

Contributing

Pull requests are welcome. For major changes, feel free to open an issue first to discuss what you would like to change.

License

MIT ยฉ Shubhayu Majumdar

๐Ÿ™‹โ€โ™‚๏ธ Support

๐Ÿ’™ If you like this project, give it a โญ and share it with friends!

Buy Me A Coffee

Made with โค๏ธ and Python

cowin-notifier's People

Contributors

shubhayu-64 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cowin-notifier's Issues

Change clone link

I think the cloning link should be of the user after fork is done.

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.