maps icon indicating copy to clipboard operation
maps copied to clipboard

can an API endpoint be added for latest device position?

Open mortee opened this issue 3 years ago • 0 comments

Apparently, PhoneTrack has a /apps/phonetrack/api/getlastpositions endpoint, which allows others to track devices directly tracked by PT. For example, Home Assistant can use this to do its own tracking.

Can such an endpoint be added to Maps? It would be nice if I wouldn't have to go through PT, since Maps already tracks my phone.

I would imagine something along the lines of GET /api/{apiversion}/latest_points to return all and GET /api/{apiversion}/latest_points/{id} for a specific one.

mortee avatar Mar 09 '22 13:03 mortee