Description Usage Arguments Functions References
Rail line and station information, including locations, fares, times, and parking.
1 2 3 | station_list(line_code = NULL)
station_timings(station_code = NULL)
|
line_code |
Two-letter line code abbreviation (optional) |
station_code |
Station code. Use the Station List method to return a list of all station codes. (optional) |
station_list: Returns a list of station location and address information based on a given LineCode.
Omit the LineCode to return all stations. The response is an array of objects
identical to those returned in the Station Information method.
station_timings: Returns opening and scheduled first/last
train times based on a given StationCode. Omit the StationCode to return
timing information for all stations. Note that for stations with multiple
platforms (e.g.: Metro Center, L'Enfant Plaza, etc.), a distinct call is
required for each StationCode to retrieve the full set of train times at
such stations.
https://developer.wmata.com/docs/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.