Returning XML

Place a /xml/ at the end of the URI to generate a text/xml response. XML commands are currently a subset of all the commands available from Metro’s Realtime API (we encourage you to try JSON/JSON-P !).

Command Description

http://api.metro.net/agencies/lametro/routes/xml/
Get all routes for LAMETRO

http://api.metro.net/agencies/lametro/routes/704/xml/
Get info for LAMETRO route 704 for LAMETRO

http://api.metro.net/agencies/lametro/routes/704/xml/
Get info and stop list for LAMETRO route 704

http://api.metro.net/agencies/lametro/stops/29/predictions/xml/
Get all route predictions for stop 29