Can we identify which place is the longest parking location for each device through API?
There is no dedicated endpoint for “usual parking location”.
However, you can determine it using trip data from the API.
Approach 1:
Call track/list for a period (for example a month).
track/list
Compute gaps between one trip’s end_time and the next trip’s start_time.
end_time
start_time
Use the previous trip end location as the parking point.
The location with the longest gap is a likely main parking spot.
Approach 2:
Take the last trip end location each day.
The most frequent location is likely the usual parking spot.
track/listarrow-up-right
Last updated 7 days ago
Was this helpful?