Inspiration

Stories from the rural sides of India from relatives who told me about how hard it is to find blood for crucial life-saving blood transfusions

What it does

Telegram bot that collects information from voluntary donors such as name, blood type, weight, contact details and eligibility. Stores this data in a data.json database. When someone pings the bot to request for blood, it will ask for the required blood type and their location. Donors with the blood type will be pinged by the bot with the location details and can opt whether they want to travel and donate blood or not. If they can, they can send yes.

How we built it

Python with JSON and telegram bot API by setting up conversation handlers and storing the data in a JSON file that can be accessed for blood requests.

Challenges we ran into

Communication between JSON and our code, actually understanding how to put the logic together

Accomplishments that we're proud of

Made a responsive bot, juggling duty time (NS) and coding time well

What we learned

A better understanding of the capabilities of python and telegram, the usage of databases. Things are not as easy as they look. But if you really want to achieve something you have to keep pushing yourself.

What's next for ASAP Blood Bot

Add more features to it to make the process more seamless and possibly mainstream

Built With

Share this project:

Updates