The inspiration for this project was the lack of effort we've seen put into vaccine distribution in Ontario.

What it does:

The discord bot finds all pharmacies with vaccines in close proximity to a user using the bot. It also finds out the closest location if the user inputs their address.

How we built it:

We built the discord bot itself using discord.js and node.js. We used the Google Cloud Directions API to find the distances from the user's address to the pharmacy locations and finally, we used Cheerio to web scrape the the pharmacy locations themselves.

Challenges we ran into:

Since we had to make multiple API calls to the Directions API, we had challenges working with Promises in JavaScript and working with asynchronous functions.

Accomplishments that we're proud of

The bot ended up being exactly as we planned despite our challenges. We successfully worked with the Directions API, we used web scraping successfully and ethically, and we were able to make the Discord bot respond as we wanted it to.

What we learned

We learned how to work with asynchronous programming in JavaScript. We also learnt of the surprisingly large amount of vaccine pharmacies near each of us.

What's next for The Vaccine Hunting Bot

The Vaccine Hunting Bot will have its data updated as we notice the Ontario government updates the locations on their website. We will invite the bot to all of our discord servers so we can spread this information to our communities.

Share this project: