JSON Documentation
Method: getMetro ¶
https://json.smappi.org/milash/metro-station/getMetro?name=<string>&city=<string>&line_id=<string>&line_name=<string>
Returns information about subway station
getMetro("Бульвар Рокоссовского","","","")
// => {"geo_lat":"55.814264","geo_lon":"37.735117","line_id":"01","line_name":"\u0421\u043e\u043a\u043e\u043b\u044c\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f","city":"\u041c\u043e\u0441\u043a\u0432\u0430","name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0420\u043e\u043a\u043e\u0441\u0441\u043e\u0432\u0441\u043a\u043e\u0433\u043e"}
Method: getClosest ¶
https://json.smappi.org/milash/metro-station/getClosest?city=<string>&lat=<string>&lon=<string>&count=<number>
Returns list of closest subway stations with distance in km
getClosest("Москва", "55.814264", "37.735117", "1")
// => [{distance: 0.0, station: {"line_id":"01","line_name":"Сокольническая","city":"Москва","name":"Бульвар Рокоссовского","geo_lat":"55.814264","geo_lon":"37.735117"}}]
XML Documentation
Method: getMetro ¶
https://xml.smappi.org/milash/metro-station/getMetro?name=<string>&city=<string>&line_id=<string>&line_name=<string>
Returns information about subway station
getMetro("Бульвар Рокоссовского","","","")
// => {"geo_lat":"55.814264","geo_lon":"37.735117","line_id":"01","line_name":"\u0421\u043e\u043a\u043e\u043b\u044c\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f","city":"\u041c\u043e\u0441\u043a\u0432\u0430","name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0420\u043e\u043a\u043e\u0441\u0441\u043e\u0432\u0441\u043a\u043e\u0433\u043e"}
Method: getClosest ¶
https://xml.smappi.org/milash/metro-station/getClosest?city=<string>&lat=<string>&lon=<string>&count=<number>
Returns list of closest subway stations with distance in km
getClosest("Москва", "55.814264", "37.735117", "1")
// => [{distance: 0.0, station: {"line_id":"01","line_name":"Сокольническая","city":"Москва","name":"Бульвар Рокоссовского","geo_lat":"55.814264","geo_lon":"37.735117"}}]
SOAP Documentation (coming soon)
WSDL-Scheme here...
Method: getMetro ¶
https://soap.smappi.org/milash/metro-station/getMetro?name=<string>&city=<string>&line_id=<string>&line_name=<string>
Returns information about subway station
getMetro("Бульвар Рокоссовского","","","")
// => {"geo_lat":"55.814264","geo_lon":"37.735117","line_id":"01","line_name":"\u0421\u043e\u043a\u043e\u043b\u044c\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f","city":"\u041c\u043e\u0441\u043a\u0432\u0430","name":"\u0411\u0443\u043b\u044c\u0432\u0430\u0440 \u0420\u043e\u043a\u043e\u0441\u0441\u043e\u0432\u0441\u043a\u043e\u0433\u043e"}
Method: getClosest ¶
https://soap.smappi.org/milash/metro-station/getClosest?city=<string>&lat=<string>&lon=<string>&count=<number>
Returns list of closest subway stations with distance in km
getClosest("Москва", "55.814264", "37.735117", "1")
// => [{distance: 0.0, station: {"line_id":"01","line_name":"Сокольническая","city":"Москва","name":"Бульвар Рокоссовского","geo_lat":"55.814264","geo_lon":"37.735117"}}]