Create new API endpoint which will return list of live locations, that are shared into specific chat using Telegram's Live location.
Specific usecase
tldr stop using Glympse and replace it with Telegram.
Since Glympse is focused on location sharing, is great and much more powerful for more complex usages, but it takes little bit time to setup on both user-end (connect to tag, start sharing) and admin-end (logic for loading tag, list of users and then user data itself must be programmed).
On the other hand, Telegram is much more friendly to use and it is probably already installed on target device. Also, it should be more secure than sharing just using Glympse code and Glympse tag because access is granted only to users with secure token.
Needs testing
if location is refreshing "often enough"
precision is great even if display is off
Expected behavior
Admin of chat will generate token for API access
Users start sharing live locations into this chat
Admin will access this API endpoint which will return list of users, that are sharing live location
Notes
endpoint example /api/live-location/<chat-id>/<token>
token should be random and re-generable in case of leak
Create new API endpoint which will return list of live locations, that are shared into specific chat using Telegram's Live location.
Specific usecase
tldr stop using Glympse and replace it with Telegram.
Since Glympse is focused on location sharing, is great and much more powerful for more complex usages, but it takes little bit time to setup on both user-end (connect to tag, start sharing) and admin-end (logic for loading tag, list of users and then user data itself must be programmed).
On the other hand, Telegram is much more friendly to use and it is probably already installed on target device. Also, it should be more secure than sharing just using Glympse code and Glympse tag because access is granted only to users with secure token.
Needs testing
Expected behavior
Notes
/api/live-location/<chat-id>/<token>
lat,lon?format=json
(load address, datetimezone, elevation, ...)telegram_updates
could be used, after support to Live location is added.