

The second video starts off by telling us how to get access to the crypto marketcap.Īt 3:37, the video shows that the Documentation doc has a “Full Endpoints list” section however, I was not able to find it anymore, so here please use the actual request url: Īt 6:42, we are asked to run the script. You won’t be able to complete this project in one sitting, so to relaunch your local environment, run these commands: $ cd /Users/evgenypavlov/Documents/telegrambot $ cd bot $ atom. Make sure you opened the bot in either Atom or VS Code before advancing to the next video. If you are also using VS Code, make sure you added “Launching from command line” functionality as instructed here. This is a command to open your bot directory in the Atom text editor. This installs Python version 3.8 instead of 3.7 shown in the video, but don’t worry.įollowing the video at 2:05: $ pip install flask requests $ mkdir bot $ cd botĪt 2:29 mark, the video asks you to: atom. So, instead, I used these commands to get my virtual environment going: $ virtualenv -p python3 /Users/evgenypavlov/Documents/telegrambot $ source /Users/evgenypavlov/Documents/telegrambot/bin/activate Then, for some reason, the command shown in the video did not work for me: 🛑 $ virtual venv -python=python3.7 $ cd /Users/evgenypavlov/Documents/telegrambot Get into that folder on your terminal via “cd”.Create a folder that will serve as a repository for your bot🤖.$ brew install python3 $ pip3 install virtualenvĪll set, now jumping back to the first video tutorial at 1:08. This will be later needed to setup a virtual environment.Ĭopy-paste this line: $ /bin/bash -c "$(curl -fsSL )" Write the code simultaneously with the narrator and this article will help you with bugs and missing info. Please make sure you complete all of the steps shown in the video.

This tutorial has some blank spots, so in this article I will try to add all the missing pieces. Even if you are not interested in cryptocurrency, by following these steps, you will develop a fully operational bot with a webhook and backend logic that you will be able to adap to your needs later. Four videos in this tutorial teach how to create a cryptocurrency bot which can to tell you a current bitcoin value right in the chat. I stumbled upon this great tutorial by Red Eye Coder Club.

Recently, I wanted to pick up python API development skills. Creating a Telegram Bot: Full Beginner’s Guide 2021
