Traccar with Python 3

Paulo Matos5 years ago

Hello everyone,
I am new to Python and being using Traccar for some time.
I want to develop a test project with Python3 that allows me to connect to a specific traccar server and get the current position of a specific device.

Can anyone help me with a sample code?

Thank you very much

Best regards
PM

Paulo Matos5 years ago

UPDATE:
I can successfully connect to server, return the data for the desired device, but positionId only returns an integer and I do not know how to get the lat/long from this positionId.

Thank you very much

PM

Anton Tananaev5 years ago

Please check the API documentation.