Ero sivun ”Tampere Public Transport SIRI Interface (Realtime JSON at data.itsfactory.fi)” versioiden välillä

Rivi 31: Rivi 31:


===API access===
===API access===
<div style="border: solid 1px; padding: 5px">The url of JSON API has changed to better reflect the nature of the interface (JSON instead of REST). <br>
The new url is: http://data.itsfactory.fi/siriaccess/vm/json <br>
The old url http://data.itsfactory.fi/siriaccess/vm/rest will continue to work but new clients are encouraged to use the new url.
</div>


For SIRI Vehicle Monitoring
* JSON/HTTP Access: http://data.itsfactory.fi/siriaccess/vm/json  
* JSON/HTTP Access: http://data.itsfactory.fi/siriaccess/vm/json  
* SIRI XML Access: http://data.itsfactory.fi/siriaccess/vm/siri (please note that this url accepts HTTP POST requests and therefore does not open up in the browser)
* SIRI XML Access: http://data.itsfactory.fi/siriaccess/vm/siri (please note that this url accepts HTTP POST requests and therefore does not open up in the browser)
For SIRI General Messages
* JSON/HTTP Access: http://data.itsfactory.fi/siriaccess/gm/json
* SIRI XML Access: http://data.itsfactory.fi/siriaccess/gm/siri (please note that this url accepts HTTP POST requests and therefore does not open up in the browser)


See [[ITSFactory_siriaccess_developerguide | ITS Factory Siri Access Developer Guide]] for how to access the API in JSON and SIRI XML formats.
See [[ITSFactory_siriaccess_developerguide | ITS Factory Siri Access Developer Guide]] for how to access the API in JSON and SIRI XML formats.
0

muokkausta