Skip to content

SIRI Web Service API

fruminator edited this page Sep 25, 2012 · 10 revisions

This page serves as a single point of entry into information about OneBusAway's developer-facing SIRI Web Service API's.

Overview

The best documentation of the SIRI Web Service API as it exists today can be found on the SIRI Introduction page of the MTA Bus Time developer site.

OneBusAway (through the onebusaway-nyc modules) currently supports the following SIRI services:

Both StopMonitoring and VehicleMonitoring capture most of the useful information they include inside the shared MonitoredVehicleJourney element. In addition, the responses to both services are accompanied by relevant service alert information in SituationExchangeDelivery format.

The OBA SIRI API exposes real-time data in SIRI format using a RESTful API that returns data in either XML or JSON format. While those web/mobile-developer friendly tweaks (i.e. RESTful-ness, JSON) were not officially supported as part of the SIRI 1.3 specification, they are part of the SIRI 2.0 specification which has been finalized and is awaiting formal approval by CEN before the end of 2012.

Changes/Improvements