Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chandrikadeb7/cowin-telegram-bot

Telegram bot source code to check the available vaccine slots via states, districts, or Pincode
https://github.com/chandrikadeb7/cowin-telegram-bot

covid-19 covid-19-india cowin cowin-api cowin-vaccine-tracker python3 telegram-bot telegram-bot-api vaccine-availability vaccine-tracker

Last synced: 10 days ago
JSON representation

Telegram bot source code to check the available vaccine slots via states, districts, or Pincode

Awesome Lists containing this project

README

        

🤖 Cowin Telegram Bot 🤖


A Telegram Bot that shows the available vaccination slots filtered by Indian states, districts, or pincodes.


## :star: Star us on GitHub — it helps!

                              
![Python](https://img.shields.io/badge/python-v3.6+-blue.svg)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/issues)
[![Forks](https://img.shields.io/github/forks/chandrikadeb7/Cowin-Telegram-Bot.svg?logo=github)](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/network/members)
[![Stargazers](https://img.shields.io/github/stars/chandrikadeb7/Cowin-Telegram-Bot.svg?logo=github)](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/stargazers)
[![Issues](https://img.shields.io/github/issues/chandrikadeb7/Cowin-Telegram-Bot.svg?logo=github)](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/issues)
[![MIT License](https://img.shields.io/github/license/chandrikadeb7/Cowin-Telegram-Bot.svg?style=flat-square)](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/blob/master/LICENSE)
[![LinkedIn](https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555)](https://www.linkedin.com/in/chandrika-deb/)

## 🚀  Installation

#### Clone the repo
```
$ git clone https://github.com/chandrikadeb7/Cowin-Telegram-Bot.git
```

#### Install the required modules
```
$ pip3 install -r requirements.txt
```
## :bulb: Working

### Create a Telegram Bot
* Talk to [@BotFather](https://t.me/botfather) and proceed as guided
* Choose a name and username for your bot account.
* Enter the details and keep safe the access token generated.

#### Enter your generated access token in the file config.ini

```
[TELEGRAM]
token = xxxxxxxxxxxxxxxxxxxxxxxx (insert token here)

[API]
user-agent = python-requests/2.25.1
```

## :key: Run

#### Run the bot.py file
```
$ pip3 bot.py
```

## :clap: And it's done!
Feel free to **file a new issue** with a respective title and description on the the [Cowin-Telegram-Bot](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/issues) repository. If you already found a solution to your problem, **I would love to review your pull request**!

![](https://github.com/chandrikadeb7/Cowin-Telegram-Bot/blob/main/Readme_Images/Screenshot%202021-05-14%20at%202.07.50%20PM.png)

## 📘  License
The Cowin-Telegram-Bot is released under the under terms of the [MIT License](LICENSE).

## :heart: Contributor
Made by [Chandrika Deb](https://github.com/chandrikadeb7)