olefirenko / crypto-telegram-bot

Telegram Bot for getting the cryptocurrency prices from Binance API

Home Page:https://olefyrenko.com/blog/how-to-create-a-telegram-crypto-bot-in-javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto Telegram Bot

This repository contains the code for the aricle How to create a Telegram Crypto Bot in Javascript in my blog.

Env variables

In order to launch the project you need to obtain the API keys from Binance and Telegram

  • For Binance - register here (referral link). Then generate the keys on API Management page.
  • For Telegram Bot - get the bot token from the BotFather

How to run the project?

First install the npm dependencies by running npm install. Then start the project by running npm start. After these steps you can send the commands to the Telegram bot to get the prices for cryptocurrencies, for example, /price BTC (for getting the price of Bitcoin).

About

Telegram Bot for getting the cryptocurrency prices from Binance API

https://olefyrenko.com/blog/how-to-create-a-telegram-crypto-bot-in-javascript


Languages

Language:JavaScript 97.4%Language:Shell 2.6%