Wmata Bus Realtime
WMATA Bus Realtime is a transit data service that provides live Washington Metropolitan Area bus arrival and vehicle information.
- Base URL:
http://api.wmata.com/NextBusService.svc - Auth:
header:api_key(pass your key via theapiKeyinput)
Operations
5476365e031f5909e4fe331e— GET /Predictions — XML - Next Buses5476365e031f5909e4fe331d— GET /json/jPredictions — JSON - Next Buses
Inputs
apiKey— your wmata-bus-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: 5476365e031f5909e4fe331e
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: 5476365e031f5909e4fe331e, 5476365e031f5909e4fe331d |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |