Рет қаралды 4,913
In this video I will show you how to create a Telegram bot that gets the current weather by IP address.
GitHub repository: github.com/lesskop/shtosh-wea...
Support channel development: paypal.me/shtoshpython
The channel author's project, "Digitalize!"
GitHub repository: github.com/alexey-goloburdin/...
Video: • Типизированный Python ...
Create a new Telegram bot: web.telegram.org/k/#@BotFather
OpenWeather API current weather: openweathermap.org/current
Useful public APIs: github.com/public-apis/public...
Music from video: • HOME - RESONANCE (432 ...
Original: • HOME - Resonance
Time Codes:
0:00 - Shtosh.
0:41 - How do you make a bot like this?
0:54 - OpenWeather API
1:52 - Forming a request and looking at the response
2:20 - Create a new bot, install Python and aiogram
2:38 - Project by the author of the "Digitalize!" channel
3:05 - Writing code
3:22 - Using IP address to get coordinates
3:55 - Get and parse the weather
4:58 - Messaging for the bot
5:42 - Inline keyboard
6:00 - Test the bot
7:07 - Shtosh