Stores a home station and when ever asked for it replies with the next departure times.
- Make sure serverless is installed (to deploy functions to AMZN Lambda):
npm install serverless -g
-
Setup your AWS lambda account (creating keys / secrets for serverless to deploy) https://serverless.com/framework/docs/providers/aws/guide/credentials/.
-
Reach out to vbb and ask them for an access token. Using their "development" system is fine, have never experienced issues with it: VBB REST API
-
Create a file called
credentials.yml
with your token:
vbbtoken: "Tom-Bocklisch-XXXXXXX"
mkvirtualenv alexa-vbb
pip install -r requirements.txt
npm install
serverless deploy