Parking and parking report
Options:
cmd : runstops
imei : object identifier in the system
start : sampling start time
stop : sampling end time
Example request:
http://<url>/api/api.php?cmd=runstops&imei=352094083043221&start=1657659600&stop=1657746000
Requested data format:
{
"code": 0,
"msg": "OK",
"stops": [
{
"ts": 1657659600,
"te": 1657698092,
"dur": 38492,
"lat": "47.200908",
"lon": "39.634670",
"address": {
"house_number": "22",
"road": "улица Купеческая",
"city_district": "Советский район",
"city": "Ростов-на-Дону",
"county": "Ростов-на-Дону",
"state": "ROS",
"postcode": "344058",
"country": "Россия",
"country_code": "ru"
}
},
{
"ts": 1657700212,
"te": 1657746000,
"dur": 45788,
"lat": "47.200965",
"lon": "39.634558",
"address": {
"house_number": "22",
"road": "улица Купеческая",
"city_district": "Советский район",
"city": "Ростов-на-Дону",
"county": "Ростов-на-Дону",
"state": "ROS",
"postcode": "344058",
"country": "Россия",
"country_code": "ru"
}
}
],
"parkings": [
{
"ts": 1657698633,
"te": 1657699737,
"dur": 1104,
"lat": "47.207657",
"lon": "39.623924",
"address": {
"house_number": "37",
"road": "Коммунистический проспект",
"suburb": "ZZM",
"city_district": "Советский район",
"city": "Ростов-на-Дону",
"county": "Ростов-на-Дону",
"state": "ROS",
"postcode": "3440000",
"country": "Россия",
"country_code": "ru"
}
}
]
}