Skip to content

alphonsoTheGreat/alphonsoBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot integrated with yahoo finance throw rapid api

using express for the server running the bot with webhooks.

and telegraf for telegram bot api.

deployed on heroku.


the bot is integrated with yahoo finance api fetching stock data.

yahoo finance docs from rapid api site.

and google trends for fetching stock trends (future)


Make sure you:

  1. run npm install
  2. add the folowing environment variables:
    1. PORT
    2. BOT_TOKEN
    3. RAPID_HOST
    4. RAPID_KEY
    5. WEBHOOK_BASE_URL
    6. WEBHOOK_PATH

if you run development add those variables to utils/dev.env file

for development run npm run devserver

for production run npm run start


HEROKU deployment: