Alexa London Travel
An Amazon Alexa skill for checking the status for travel in London.
The skill integrates with the TfL API to query the status of London Underground lines, London Overground, the Docklands Light Railway (DLR) and TfL Rail to tell you their current status, such as whether there are any closures or delays.
Ask about the status of a specific tube line, for London Overground, the DLR or TfL Rail:
Alexa, ask London Travel about the Victoria line.
Ask about disruption on any of London Underground, London Overground, the DLR or TfL Rail:
Alexa, ask London Travel if there is any disruption today.
Any feedback or issues can be added to the issues for this project in GitHub.
The repository is hosted in GitHub: https://github.com/martincostello/alexa-london-travel.git
Building and Testing
To build the skill just run NPM to install the packages:
> npm install
To run the Mocha unit tests:
> npm test
To run the skill locally using Alexa App Server, first clone the repository into directory that is otherwise empty.
> mkdir alexa-london-travel && cd alexa-london-travel > git clone https://github.com/martincostello/alexa-london-travel repo > cd repo
Then add a
.env file and populate it with your TfL API application Id and key. If you do not have TfL application Id, you can register for one here.
Now the skill is configured, install the packages and start the test server:
> npm install > node server
You can now debug the skill in a browser using the built-in test server by browsing to
Launch files are also included in the repository to debug the skill using Visual Studio Code.
This project is licensed under the Apache 2.0 license.
Copyright and Trademarks
The London Travel skill is copyright (©) Martin Costello 2017.
Amazon Alexa is a trademark of Amazon.com, Inc.
The TfL roundel is a trademark of Transport for London (TfL).