Skip to content

Amazon Alexa skill to retrieve Berlin VBB departures (S-bahn, U-bahn, tram and Bus).

Notifications You must be signed in to change notification settings

tmbo/alexa-vbb-skill

Repository files navigation

Alexa S-Bahn Skill

Stores a home station and when ever asked for it replies with the next departure times.

Development Setup

  1. Make sure serverless is installed (to deploy functions to AMZN Lambda):
npm install serverless -g
  1. Setup your AWS lambda account (creating keys / secrets for serverless to deploy) https://serverless.com/framework/docs/providers/aws/guide/credentials/.

  2. 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

  3. Create a file called credentials.yml with your token:

vbbtoken: "Tom-Bocklisch-XXXXXXX"

Setting up the project

mkvirtualenv alexa-vbb
pip install -r requirements.txt
npm install

Deploying the app

serverless deploy

About

Amazon Alexa skill to retrieve Berlin VBB departures (S-bahn, U-bahn, tram and Bus).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published