Siirry sisältöön

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

73 merkkiä lisätty ,  4. marraskuuta 2022 kello 15.34
Luokat lisätty
(Luokat lisätty)
 
(2 välissä olevaa versiota toisen käyttäjän tekemänä 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 90: Rivi 90:


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.
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]]