Geo-referenced traffic report
Example:
https://<address>/api/api.php?cmd=rungeo
Parameters:
cmd : rungeo
imei : object id in system
start : start time of sampling
stop : end time of sampling
Request:
https://<address>/api/api.php?cmd=rungeo&imei=356307045913463&start=1439413200&stop=1439586000
https://<address>/api/api.php?node=5&cmd=rungeo&imei=356307045913463&start=1439413200&stop=1439586000
Answer:
{
code: 0
"msg": "OK",
tracks: {
"1439443509": {
"avgspeed": 35.3889,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Soviet District",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "80 to 13",
"postcode": "344091",
"road": "2nd Krasnodar street",
"state": "Rostov region",
"suburb": "ZZHM"
},
"elat": "47.2037",
"elon": "39.6325",
"length": 12.7304
"max speed": 59,
"geo": {
"city": "Rostov-on-Don",
"city_district": "Soviet District",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "80 to 13",
"postcode": "344091",
"road": "2nd Krasnodar street",
"state": "Rostov region",
"suburb": "ZZHM"
},
"slat": "47.2037",
"slon": "39.6325",
"te": 1439445837,
"ts": 1439443509
},
"1439453807": {
"avgspeed": 34.5337,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "October District"
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "8",
"postcode": "344064",
"road": "Country street",
"state": "Rostov region",
"suburb": "Kamenka"
},
"elat": "47.2593",
"elon": "39.6799",
"length": 21.2731,
"max speed": 72,
"geo": {
"city": "Rostov-on-Don",
"city_district": "October District",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "8",
"postcode": "344064",
"road": "Country street"
"state": "Rostov region",
"suburb": "Kamenka"
},
"slat": "47.2593",
elephant: "39.6799",
"te": 1439458898,
"ts": 1439453807
},
"1439480652": {
"avgspeed": 31.3939,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Leninsky district",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "25",
"postcode": "344008",
"road": "Defense Street",
"state": "Rostov region",
"suburb": "New Settlement"
},
"elat": "47.2155",
"elon": "39.7042",
"length": 8.63531,
"max speed": 68,
"geo": {
"city": "Rostov-on-Don",
"city_district": "Leninsky district",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "25",
"postcode": "344008",
"road": "Defense Street",
"state": "Rostov region",
"suburb": "New Settlement"
},
"slat": "47.2155",
elephant: "39.7042",
"te": 1439486419,
"ts": 1439480652
},
"1439532322": {
"avg speed": 35.1732,
"egeo": {
"city": "Rostov-on-Don",
"city_district": "Soviet District",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "135",
"postcode": "344091",
"road": "2nd Krasnodar street",
"state": "Rostov region",
"suburb": "ZZHM"
},
"elat": "47.2039",
"elon": "39.6346",
"length": 20.3338,
"max speed": 79,
"geo": {
"city": "Rostov-on-Don",
"city_district": "Soviet District",
"country": "Russian Federation",
"country_code": "ru",
"county": "urban district of Rostov-on-Don",
"house_number": "135",
"postcode": "344091",
"road": "2nd Krasnodar street",
"state": "Rostov region",
"suburb": "ZZHM"
},
"send": "47.2039",
elephant: "39.6346",
"te": 1439539157