This little piece of code takes data from https://coinmarketcap.com via API as a JSON. And then sends price of Bitcoin (BTC) to Telegram via IFTTT.
pip install requests
For more information you can check this article : https://realpython.com/python-bitcoin-ifttt/#bitcoin-price-notifications-with-python