Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.
/ carburanti-ita-bot Public archive

Telegram bot that returns the closest gas stations

Notifications You must be signed in to change notification settings

alesmit/carburanti-ita-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carburanti ITA Bot

Telegram

This is the source code of the Telegram bot @FuelMasterBot. The bot will receive your position and send a list of the three closest gas stations along with prices information.

Please note that this bot only works in Italy. Information about prices and gas stations are provided by the italian Ministry of Economic Development, which updates datasets everyday at 8:00 AM GMT+1. You can find more about it here.

This bot is deployed on Heroku and it uses the free plan. Since it doesn't use any database to cache datasets, the first request of the day after 8 AM takes a while to download the most fresh CSV. The CSV is then parsed on each request; this makes the response time quite bad, yeah, but this is what we can do with a free instance. I made this bot mainly because I was learning Go and I wanted to build something with it.

Credits

  • The icon in the botpic is Fuel by Jason Grube from the Noun Project
  • Thanks @neonima for helping me take the first steps with Go

Contributions

Contributions are welcome, so feel free to fork the repo and open a PR.

About

Telegram bot that returns the closest gas stations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published