wmata.com

Real-time rail prediction methods.

🔑 apikey 2 endpoints transport
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (1 total)

go get github.com/awiede/wmata-go-sdk
curl examples
XML - Next Trains
curl \
  -H "api_key: $API_KEY" \
  /GetPrediction/{StationCodes}
JSON - Next Trains
curl \
  -H "api_key: $API_KEY" \
  /json/GetPrediction/{StationCodes}
Endpoints (2 total)
GET
/GetPrediction/{StationCodes}
XML - Next Trains
GET
/json/GetPrediction/{StationCodes}
JSON - Next Trains
Language coverage
Go
1
At a glance
Total SDKs1
Languages1
Endpoints2
Authapikey
Categories1