An open API service indexing awesome lists of open source software.

https://github.com/jayeshpadhiar/cowinvaccinescheduler

A Python Script to automate searching of available vaccination centers in the city and hence booking
https://github.com/jayeshpadhiar/cowinvaccinescheduler

covid-19 cowin cowin-api cowin-notifier vaccination vaccination-centers

Last synced: about 2 months ago
JSON representation

A Python Script to automate searching of available vaccination centers in the city and hence booking

Awesome Lists containing this project

README

        

# Cowin Vaccine Availability Notifier

Cowin Vaccine Availability Notifier takes your City or PIN code as an input and automatically notifies you via email when any booking is available. It also helps you to book a vaccination slot as well.


# Script Path

[![](https://mermaid.ink/img/eyJjb2RlIjoiZ3JhcGhcbkEoKFN0YXJ0KSkgLS0-IFkoKExvZyBJbikpXG5ZIC0tPiBEe1NlbGVjdH1cbkQgLS0gU2VhcmNoIEJ5IENpdHkgLS0tPiBFKFNlbGVjdCBDaXR5KVxuRSAtLT4gRyhFbnRlciBQcmVmZXJyZWQgUGluY29kZXMpXG5EIC0tIFNlYXJjaCBCeSBQSU4gLS0-IEgoRW50ZXIgUGluY29kZSlcbkcgLS0-IEkoKFdhaXQgdW50aWwgRm91bmQpKVxuXG5JIC0tIEZvdW5kIC0tLT4gWntXYW50IENlbnRlcj99XG5cbkggLS0-IElcblogLS0gWWVzIC0tPiBKKFNlbGVjdCBDZW50ZXIpXG5aIC0tIE5vIC0tLT4gSVxuSiAtLT4gSyhFbnRlciBPVFAgdGhhdCBjYW1lIG9uIHlvdXIgcGhvbmUpXG5LIC0tPiBMKFNlbGVjdCBCZW5pZmljaWFyeSlcbkwgLS0-IE0oRW50ZXIgQ2FwdGNoYSlcbk0gLS0-IE4oKEFwcG9pbnRtZW50IEJvb2tlZCEpKSIsIm1lcm1haWQiOnsidGhlbWUiOiJmb3Jlc3QifSwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOmZhbHNlfQ)](https://mermaid-js.github.io/mermaid-live-editor/edit##eyJjb2RlIjoiZ3JhcGhcbkEoKFN0YXJ0KSkgLS0-IFkoKExvZyBJbikpXG5ZIC0tPiBEe1NlbGVjdH1cbkQgLS0gU2VhcmNoIEJ5IENpdHkgLS0tPiBFKFNlbGVjdCBDaXR5KVxuRSAtLT4gRyhFbnRlciBQcmVmZXJlZCBQaW5jb2RlcylcbkQgLS0gU2VhcmNoIEJ5IFBJTiAtLT4gSChFbnRlciBQaW5jb2RlKVxuRyAtLT4gSSgoV2FpdCB1bnRpbCBGb3VuZCkpXG5cbkkgLS0gRm91bmQgLS0tPiBae1dhbnQgQ2VudGVyP31cblxuSCAtLT4gSVxuWiAtLSBZZXMgLS0-IEooU2VsZWN0IENlbnRlcilcblogLS0gTm8gLS0tPiBJXG5KIC0tPiBLKEVudGVyIE9UUCB0aGF0IGNhbWUgb24geW91ciBwaG9uZSlcbksgLS0-IEwoU2VsZWN0IEJlbmlmaWNpYXJ5KVxuTCAtLT4gTShFbnRlciBDYXB0Y2hhKVxuTSAtLT4gTigoQXBwb2ludG1lbnQgQm9va2VkISkpIiwibWVybWFpZCI6IntcbiAgXCJ0aGVtZVwiOiBcImZvcmVzdFwiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOmZhbHNlfQ)


# Install Requirements
Install the requirements first by using this command


`pip install -r requirements.txt`


# How To Run
Just enter the following command on your terminal


`python3 cowin.py`


# Things To Note
> **Note:** **** is a good thing. Don't press any key just wait until it finds an open slot


> **Note:** If you're getting a lot of **401: Trying Public Server**, you might wanna re-run the script by closing and opening again. Hence logging in again with a new token. This helps as you're authorized again and you'll get the fastest updates possible.


# Regarding the Script

- This script is developed for learning and exploring purpose only
- Use this at your own risk
- Please don't attempt to flood the Cowin APIs



**Developed By** : **Jayesh Padhiar**


Please star this project.
## Thank You !