City Bikes Telegram Bot

Release day! Today we are launching a new Telegram Bot, Leonardo City Bikes Bot.
“Bots are simply Telegram accounts operated by software – not people – and they’ll often have AI features. They can do anything – teach, play, search, broadcast, remind, connect, integrate with other services, or even pass commands to the Internet of Things.” Read about the Telegram Bots here: Telegram Bot platform.

So, what can Leonardo do for you? He can help you to find the closest bike stations around you. Just share with him your GPS location or simply type and address or a place of interest and he will give you helpful information about the closest bike stations.


You can choose the distance within the stations need to be. Leonardo gives you the name of the stations, the location (so you can easily navigate) and useful information about the free bikes and empty slots.


To start to chat with the bot, reach him here: or search @CityBikesbot in the Telegram search bar.

Leonardo can speak the following languages:

  • Italian
  • English
  • Norwegian
  • Polish
  • German
  • Russian
  • Spanish
  • French

Leonardo integrates with a lot of rent-bikes network around the world, mainly in Europe. Take a look to this web site to search for your location: CityBikes.

The Bot has been built with Python (using the library twx.botapi and is running in the cloud within the Amazon AWS platform.
MongoDB and Redis have been used to store some information about the bike stations and cache some contents to make the user experience smoother. The application has been built and shipped using Docker.

The brain of Leonardo is powered by the CityBikes API.
Read more about the project: City Bikes API

Feel free to use the bot and share your feedback with us.
If you want to contribute to the project to extend the features, add further integration or new translations, do not hesitate to contact me.

The version for Facebook Messenger is under construction.