Telegram Bot with daily automated notifications for the USD price in Argentina.
- Telegram Bot API
- Python 3
- AWS CLI
- Serverless framework CLI
Add your Telegram token and chat id in .env
file.
Install Python dependencies using pipenv
:
pipenv install
Install Serverless Python Requirements plugin:
sls plugin install -n serverless-python-requirements
Deploy the lambda function using Serverless CLI:
sls deploy -v
After deployment, the function will be triggered by CloudWatch Event everyday at 8am UTC. It can also be invoked manually using:
sls invoke -f send_price