Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shubhayu-64/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.
https://github.com/shubhayu-64/cowin-notifier

covid-19 covid-19-india covid19 cowin cowin-metadata-api cowin-notifier hacktoberfest india notifier python slots tweets twitter twitterapi vaccine vaccine-availability vaccine-information vaccine-tracker

Last synced: about 11 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://twitter.com/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.

```bash
git clone https://github.com/shubhayu-64/Cowin-Notifier.git
```

2. Move to cloned/downloaded directory ` cd Cowin-Notifier`
3. Run `pip install requirements.txt`
4. Update `config.py` with your Twitter API credentials.
5. Start the script by `python main.py`

## Screenshots
- [@Cowin_Notifier](https://twitter.com/cowin_notifier) Twitter account

![Profile Image](/img/profile.png)

- Tweets posted.

![Tweets Image](/img/tweets.png)

- Terminal of the script

![Terminal Image](/img/terminal.png)

## 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](https://github.com/shubhayu-64/Cowin-Notifier/blob/main/LICENSE)

## 🙋‍♂️ Support

💙 If you like this project, give it a ⭐ and share it with friends!


Buy Me A Coffee

---

Made with ❤️ and Python