Get current arrivals and departures for a stop identified by id
http://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/1_75403.xml?key=TEST
<response> <version>2</version> <code>200</code> <text>OK</text> <currentTime>1270614730908</currentTime> <data class="listWithReferences"> <references>...</references> <entry class="stopWithArrivalsAndDepartures"> <stopId>1_75403</stopId> <arrivalsAndDepartures> <arrivalAndDeparture>...</arrivalAndDeparture> <arrivalAndDeparture>...</arrivalAndDeparture> <arrivalAndDeparture>...</arrivalAndDeparture> </arrivalsAndDepartures> <nearbyStopIds> <string>1_75414</string> <string>...</string> </nearbyStopIds> </entry> </data> </response>
The response is primarily composed of <arrivalAndDeparture/> elements, so see the element documentation for specific details.
The nearby stop list is designed to capture stops that are very close by (like across the street) for quick navigation.
Trips will not show up in the results if the schedule_relationship is SKIPPED.