Skip to content
/ telegram-merch-bot Public template

a Python-based Telegram bot that sends out an infographic with some up-to-date token data on demand.

License

Notifications You must be signed in to change notification settings

al-matty/telegram-merch-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Merch Bot

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:

  1. Scrape and store up-to-date token metrics from coingecko.com.
  2. Draw scraped data onto the template image.
  3. 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.

Preview

Requirements & Installation

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

License

This project is licensed under the MIT license - see the LICENSE file for details.

About

a Python-based Telegram bot that sends out an infographic with some up-to-date token data on demand.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages