A Telegram bot that produces merchandise for the cryptocurrency 'YLD' on demand.
You can add this bot on Telegram by searching for its handle @YLDMerchBot
.
Send it /merch
and it sends back infographics with always up-to-date token
metrics like circulating supply and market capitalization.
It does so in three steps:
- Scrape and store up-to-date token metrics from coingecko.com.
- Draw scraped data onto the template image.
- Send image to user via Telegram.
Here is an example of one of the infograpics the bot delivers. Keep in mind that the 'golden' metrics are up-to-date as of the time requested via Telegram.
The script runs on python 3
and uses the packages listed in requirements.txt
.
The best practice would be to install a virtual environment and install the
requirements afterwards using pip
:
pip3 install -r requirements.txt
If you're using conda
, you can create a virtual environment and install the
requirements using this code:
conda create -n merchbot python=3.6
conda activate merchbot
pip3 install -r requirements.txt
This project is licensed under the MIT license - see the LICENSE file for details.