Siirry sisältöön

Ero sivun ”GTFS-RT” versioiden välillä

82 merkkiä lisätty ,  26. helmikuuta 2016 kello 12.47
Ei muokkausyhteenvetoa
(2 välissä olevaa versiota 2 käyttäjän tekeminä ei näytetä)
Rivi 1: Rivi 1:
===Concept===
===Concept===
GTFS-RT is a lightweight API which allows developers to access public transport data via Google Protobuf protocol (over HTTP). Also JSON over HTTP interface is provided. Following GTFS-RT related feeds are implemented:
GTFS-RT is a lightweight API which allows developers to access public transport data via Google Protobuf protocol (over HTTP). Also JSON over HTTP interface is provided. Following GTFS-RT related feeds are implemented:
* Vechile Positions
* Vehicle Positions
* Service Alerts
* Service Alerts


please see https://developers.google.com/transit/gtfs-realtime/ for more information on GTFS-RT.
please see https://developers.google.com/transit/gtfs-realtime/ for more information on GTFS-RT.


===Vechile Positions===
===Vehicle Positions===
* Vehicle positions feed (JSON) is accessible at http://data.itsfactory.fi/journeys/api/1/gtfs-rt/vehicle-positions/json
* Vehicle positions feed (JSON) is accessible at http://data.itsfactory.fi/journeys/api/1/gtfs-rt/vehicle-positions/json
* Vehicle positions feed (Protobuf) is accessible at http://data.itsfactory.fi/journeys/api/1/gtfs-rt/vehicle-positions
* Vehicle positions feed (Protobuf) is accessible at http://data.itsfactory.fi/journeys/api/1/gtfs-rt/vehicle-positions
Rivi 89: Rivi 89:
* description_text: a description of the alert
* description_text: a description of the alert


The timestamp field in the header section identifies the time when the response was generated on the server.
The timestamp field in the header section identifies the time when the response was generated on the server. Also, please note that if no alerts are active, the API returns only the headers.
36

muokkausta