Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.41 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.41 KB

PriceBot

@IamCryptobot - enjoy it!

This is a light version of a CryptoCoinsInfoBot v2 Telegram Bot, it should been used in group chats to receive prices of the coins from CoinMarketCap.

Had been used python-telegram-bot library, you can use start_polling or webhook updates methods for recieve the messages (see pricebot.py code)

For use unicode emojis must be installed Emoji Library

API of CoinMarketCap is used

UPD 23/01/2019: It was been implemented CoinMarketCap professional API, which provides quite restricted paid plans, so the bot makes only 1 request/update CMC data per hour (to can be worked inside free BASIC plan), if you bought paid plan you should change config variable config.TIME_INTERVAL to get updated your data more often.


Use:

To get actual price of a crypto coin send a command "/p coin", you can send a coin name and also a coin ticker. For get global market cap info send the command "/cap" e.g.:

/p VeChain

/p OMG

/p neo

/cap


Screenshot of the working bot:

PriceBot