Ero sivun ”Journeys API” versioiden välillä

461 merkkiä lisätty ,  26. elokuuta 2014 kello 17.34
Rivi 329: Rivi 329:
                 "location" : "61.44960,23.87165",
                 "location" : "61.44960,23.87165",
                 "name" : "Hermia",
                 "name" : "Hermia",
                 "shortName" : "3633"             
                 "shortName" : "3633",
                "tariffZone" : "1"             
             }             
             }             
         ]
         ]
Rivi 337: Rivi 338:


A client can search STOP POINTS by issuing following requests:<br>
A client can search STOP POINTS by issuing following requests:<br>
* http://data.itsfactory.fi/journeys/api/1/stop-points will return paged list of all STOP POINTS
* http://data.itsfactory.fi/journeys/api/1/stop-points will return list of all STOP POINTS
* http://data.itsfactory.fi/journeys/api/1/stop-points?location=61.69978,23.89121 will return STOP POINTS that reside at given coordinates
* http://data.itsfactory.fi/journeys/api/1/stop-points?location=61.69978,23.89121 will return STOP POINTS that reside at given coordinates
* http://data.itsfactory.fi/journeys/api/1/stop-points?location=61.49978,23.69121:61.79978,23.99121 will return STOP POINTS that start within given coordinate box. Format: (upper left corner of the box):(lower right corner of the box)
* http://data.itsfactory.fi/journeys/api/1/stop-points?location=61.49978,23.69121:61.79978,23.99121 will return STOP POINTS that start within given coordinate box. Format: (upper left corner of the box):(lower right corner of the box)
* http://data.itsfactory.fi/journeys/api/1/stop-points?tariffZone=1 will return list of all STOP POINTS within Tariff Zone 1.
===== About Tariff Zones =====
Journeys API returns tariff zones as tariff zone ids defined by City of Tampere. Valid tariff zone ids are: "1", "2", "3" and "S". Please see http://joukkoliikenne.tampere.fi/fi/muutokset-tampereen-seudun-joukkoliikenteessa-30.6.2014/tariffijarjestelma-ja-vyohykejako.html
0

muokkausta