Python Telegram Bot Tutorial: Main logic - CoinMarketCap Parser #2 | Python Project

preview_player
Показать описание
In this part #2 of Python Telegram bot tutorial I'll make the main logic of the Telegram Bot - it's the CoinMarketCap parser. The parser performs requests to the CoinMarketCap API and gets need data.
The Telegram Bot takes a command (cryptocurrency ticker) from a user, such as: /btc, /eth, /xrp, etc., performs a request to the CoinMarketCap API and returns to the user a price of the cryptocurrency in USD.

Follow me @:

============ SOURCE CODE ================
📎️ The SOURCE CODE is available via Patreon:
======================================

✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:

or its landing:

➥ Please ➥ Like ➥ Comment ➥ Subscribe

The Telegram Bot is a Flask framework application that uses a webhook to receive updates.

--- PLAYLIST ---

Covered topics:

1. Dealing with CoinMarketCap API
2. Making GET and POST requests with the Requests library
3. Dealing with json-objects with Python (reading and writing)
4. Creating a Flask application. Handling POST-requests with a Flask
5. Searching a text with regular expressions
6. Creating a Telegram Bot with BotFather. Adding a bot commands.
7. Dealing with the Telegram bots API.
8. Testing a webhook with tunneling services
9. Deploy Telegram bot (a Flask application) to the PythonAnyWhere servers.
10. Solving a SSL certificates issue with the Flask-SSLify extension

➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Never miss a new video.
Рекомендации по теме
Комментарии
Автор

What video should I make next? Any suggestions? *Write me in comments!*
Follow me @:

Help the channel grow! Please Like the video, Comment, SHARE & Subscribe!

RedEyedCoderClub
Автор

Watch next - Telegram Bot with Python Tutorial #3: Creating Bot and Webhook -

RedEyedCoderClub
Автор

This series is really helpful and clear. I hope you do more videos

JM-lelq
Автор


On the API documentation page it has changed, so pasting it here for ease of use of others.


Excellent tutorial series, thank you so much!

EnglishRain
Автор

why u dont use py telegram bot or aiogram. it helps make easier

aliyyil
Автор

sound very interesting, even though I have no knowledge in cryptocurrency. Also it is a little bit hard for me to follow, but I will try to work with json files soon! Anyway Good Video!

slimpever
Автор

are we able to make it like a normal chatbot app and not in telegram or Facebook?

nikolaskleanthous
Автор

I could be reach now if I bought BTC at price 3970 then!

tanercoder
Автор

why do i have cannot import name 'EXACT_TOKEN_TYPES' from token error

marconarca
Автор

one again, why you need if __name__=='main':
main()?

davidjobs
Автор

Is this still working? After running the script(Jupyter notebook) my "response.json" file only has the following:
{

"status": {
"timestamp": "2020-06-27T01:47:40.357Z",
"error_code": 400,
"error_message": "\"symbl\" is not allowed",
"elapsed": 0,
"credit_count": 0
}
}
Did someone else have the same problem?

luciomassimi
welcome to shbcf.ru