DJTommek / better-location

Telegram bot for parsing and generating various of location formats.
https://t.me/BetterLocationBot
MIT License
8 stars 2 forks source link

Live location API #90

Open DJTommek opened 2 years ago

DJTommek commented 2 years ago

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

  1. Admin of chat will generate token for API access
  2. Users start sharing live locations into this chat
  3. Admin will access this API endpoint which will return list of users, that are sharing live location

Notes