Answer the question
In order to leave comments, you need to log in
How to form the correct request to the API?
There was a need to contact the API (I did not use it before).
API reference - iridium360 .
It is necessary to get all the track points
If you type it into the address bar of the browser http://api.iridium360.ru/devices?token=номертокена
It gives data according to the documentation (name, number, imei, date, coordinates, speed and amount of charge), but does not give points. (Track, Points). According to the documentation, you need to set the number, include_track, date_from, or point_id_from values.
For this I drove
http://api.iridium360.ru/devices?token=номертокена&number=номерустройства&include_track=true&date_from=2018-03-19
{"Error":"Parameters error: You have to specify parameters: date_from, date_to or point_id_from, while specifying include_track parameter"}
{"Error":"Unknown error"}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question