Skip to content

Telegram Bot для відстежування громадського транспорту Львова

License

Notifications You must be signed in to change notification settings

sturman/bus_lviv_bot

Repository files navigation

Environment variables

BOT_TOKEN - Telegram bot token

API_LOGIN - EasyWay API login

API_PASSWORD - EasyWay API password

Serverless

  • add token to AWS Parameters Store aws ssm put-parameter --name "bus_lviv_bot_token" --type "String" --value "<TOKEN>"
  • add token to EasyWay API login to AWS Parameters Store aws ssm put-parameter --name "bus_lviv_bot_api_login" --type "String" --value "<TOKEN>"
  • add token to EasyWay API password to AWS Parameters Store aws ssm put-parameter --name "bus_lviv_bot_api_password" --type "String" --value "<TOKEN>"

Development

  1. Run localtunnel npm script with BOT_TOKEN environment variable set
  2. Set webhook for Telegram Bot by navigating to URL from output in previous step
  3. Run dev npm script

Built with

telegraf.js

AWS Lambda

About

Telegram Bot для відстежування громадського транспорту Львова

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published