Wmata Rail Realtime
Connector for the wmata-rail-realtime API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
http://api.wmata.com/StationPrediction.svc - Auth:
header:api_key(pass your key via theapiKeyinput)
Operations
547636a6f918230da8553640— GET /GetPrediction/{StationCodes} — XML - Next Trains547636a6f918230da855363f— GET /json/GetPrediction/{StationCodes} — JSON - Next Trains
Inputs
apiKey— your wmata-rail-realtime API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: 547636a6f918230da8553640
apiKey: <your key>