trackradar
Returns user's position.
Command's fields description:
-
txtUser1 field is the “username” of MyWakes account.
-
txtUser2 field is the “password” of MyWakes account.
-
txtCommand field contains the command: “trackradar”.
-
txtFormat optional field specifies txtParameters and response formats. more info.
-
txtParameter field contains a structure like this:
Where
-
<pastminutes> optional. Expressed in minutes, represents how much old a radar could be to be showed. Maximum value is 6000. If set to 0 (zero) all the last known positions will be showed. Default value is 60.
-
<mode> optional. Filter data, default value is 0 (zero). Can be:
-
0 (zero) private.
-
1 (one) friends.
-
2 public.
-
<time> mandatory, date and time in UTC. The accepted format is “yyyyMMddhhmmss”.
-
txtProvider field must contain the application calling ID and generated characters.
-
txtSignature field must contain the signature based on the string made of “Command Name” + “pastminutes” + “time” + “generated character to 32”.
Looking at the previous example, the string on which calculate the check will be:
“trackradar6020101112173025xxxxxx”
Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955axxxxxx”