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

155 merkkiä lisätty ,  4. marraskuuta 2022 kello 15.34
Luokat lisätty
Ei muokkausyhteenvetoa
(Luokat lisätty)
 
(3 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.
[[Luokka:APIs]]
[[Luokka:Tampere APIs]]
[[Luokka:Public Transport APIs]]