Skip to content

Alexa skill to provide real time train arrival information

Notifications You must be signed in to change notification settings

vincwang/alexa-dc-metro-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WMATA DC Metro Status

You can ask Alexa what time your next train arrives at your station!

How to download

You can search "WMATA DC Metro Status" on Alexa Skills Store on Amazon Alexa app or enable it directly on amazon.com.

Technologies

  • Node.js: Backend to create the skills
  • AWS Lambda: Backend to host the skills

Data Provider

  • WMATA: Washington Metropolitan Area Transit Authority API

Key features

Note you don't have to say the same exact sentences. Alexa is smart enough to parse your sentence into commands that she understands with this skill and reply to you with information you ask. She will also ask to clarify if she needs more information such as the line color and the station name.

You can say "Alexa ask metro status for next silver line train at Metro Center station".

  1. Arrival times of the next trains to each destination: Since a metro line is bi-directional and sometimes it stops at different destinations, Alexa will list out the trains to each destination for you.
  2. Subsequent arrival times after the next train: In case you can not make it to the very next train, Alexa will list out the subsequent trains' arrival times as well.

How to use the features

You can either invoke the skill about saying "open metro status" or just directly ask Alexa a question by saying things like "Alexa ask metro status for next silver line train at metro center?"

Tell Alexa to check directly She will ask to clarify if you didn't provide a station or metro line
She will also tell you the subsequent trains if you can't make it to next one When there is no train avaliable

About

Alexa skill to provide real time train arrival information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published