J
J
Jerry Wilkins2020-06-19 15:51:11
Python
Jerry Wilkins, 2020-06-19 15:51:11

What are the ways to display someone else's geolocation in 24/7 mode?

I run pits around the city and the idea is that 5-10 people would catch one for a certain bank. Those who catch constantly see where that person is or at some interval. And I have a question, given that I will write an application in Qiwi, through which it is possible to read geo-location data on one device and send it to another?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Pankov, 2020-06-19
@GarryHardy

meatballs

You need to rent the cheapest VDS, buy some domain, set up nginx for vds and get a certificate through letsencrypt.
So you will have a 24/7 server with https on the internet.
Then deploy your application to the server on some flask. You can prepare a project template using the so-called cookie cutter, such as this one .
As a result, you will get a "fish" of a full-fledged RESTful API application with ready-made CI / CD and almost everything that is necessary for a normal life.
You just have to implement a couple of your methods:
  • push_me - post your position
  • all - get actual coordinates of all units

It's minimum. In a good way, of course, it is desirable to do this all on asunc-io and use web sockets to update the coordinates of the target.
Also, based on the specifics of your task, you can use RTSP .

A
Alexander, 2020-06-19
@NeiroNx

Google knows how to share maps - you can pull them through api. you make a general map, with the right to record everyone who is added, they all write it - update it - the map is hosted by Google and is available via the link, you can make a map for the players - where there is only a goal and a map for the spectators where everyone is - and you don’t need any server, you need just study Google's api.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question