API
Trackers API
3min
we support get requests to view almost all tracker related information for authorization, you need to supply your api token, which is global to your user account, and you can find it in your profile trackers endpoint https //voxpow\ com/api/v1/trackers/\[tracker id]/ where \[tracker id] is the code of the tracker with prefix "vp " example request var url = "https //voxpow\ com/api/v1/trackers/vp 16045754886/"; var httprequest = (httpwebrequest)webrequest create(url); httprequest headers\["authorization"] = "token g177113c541ac26fe5d421f5db7155eac309cee2"; var httpresponse = (httpwebresponse)httprequest getresponse(); using (var streamreader = new streamreader(httpresponse getresponsestream())) { var result = streamreader readtoend(); } console writeline(httpresponse statuscode); curl https //voxpow\ com/api/v1/trackers/vp 16045754886/ \\ h 'authorization token g177113c541ac26fe5d421f5db7155eac309cee2'url url = new url("https //voxpow\ com/api/v1/trackers/vp 16045754886/"); httpurlconnection http = (httpurlconnection)url openconnection(); http setrequestproperty("authorization", "token g177113c541ac26fe5d421f5db7155eac309cee2"); system out println(http getresponsecode() + " " + http getresponsemessage()); http disconnect();\<?php $url = "https //voxpow\ com/api/v1/trackers/vp 16045754886/"; $curl = curl init($url); curl setopt($curl, curlopt url, $url); curl setopt($curl, curlopt returntransfer, true); $headers = array( "authorization token g177113c541ac26fe5d421f5db7155eac309cee2", ); curl setopt($curl, curlopt httpheader, $headers); //for debug only! curl setopt($curl, curlopt ssl verifyhost, false); curl setopt($curl, curlopt ssl verifypeer, false); $resp = curl exec($curl); curl close($curl); var dump($resp); ?>\<?php $url = "https //voxpow\ com/api/v1/trackers/vp 16045754886/"; $curl = curl init($url); curl setopt($curl, curlopt url, $url); curl setopt($curl, curlopt returntransfer, true); $headers = array( "authorization token g177113c541ac26fe5d421f5db7155eac309cee2", ); curl setopt($curl, curlopt httpheader, $headers); //for debug only! curl setopt($curl, curlopt ssl verifyhost, false); curl setopt($curl, curlopt ssl verifypeer, false); $resp = curl exec($curl); curl close($curl); var dump($resp); ?>import requests from requests structures import caseinsensitivedict url = "https //voxpow\ com/api/v1/trackers/vp 16045754886/" headers = caseinsensitivedict() headers\["authorization"] = "token g177113c541ac26fe5d421f5db7155eac309cee2" resp = requests get(url, headers=headers) print(resp status code) example response { "code" "vp 16045754886", "domain" "example com", "language" "bg", "region" "1", "commands js file" "https //cdn voxpow\ com/media/trackers/js/vp 16045754886 qnpwccalzn js", "commands" \[], "searches" \[] }