API
API endpoints
List available locations
1 min
get all the locations that can currently host your image, including an ip that you can ping to find out the latency to the location don't bother cacheing this list as it's always changing tab examples url https api gameye io available location image name list locations method get request pathparameters queryparameters headerparameters bodydataparameters kind required name image type string description the id of the image formdataparameters results languages id qtwvmkc3jsqvaxiij32er code ok locations are in the body n n locations n n id n ips n n n n n language 200 customlabel id o0ptaaec2er32md3vuqrq code not authorized! language 401 customlabel id va zsegc0hhlz1i gu tb code image not found or you are not authorized to use this image n language 404 customlabel selectedlanguageid qtwvmkc3jsqvaxiij32er examples languages id 3pnle1twnec82 pxalszz code curl location g request get https api gameye io available location image n header accept application json language curl customlabel id 9bzwmsaoit3wnjhn fkv code var myheaders new headers ; nmyheaders append accept application json ; n nvar requestoptions n method get n headers myheaders n redirect follow n ; n nfetch https api gameye io available location image requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id vlydvf9zh2wyq6wmtmjsm code import requests n nurl https api gameye io available location image n npayload nheaders n accept application json n n nresponse requests request get url headers headers data payload n nprint response text language python customlabel id r9piza44ko b9glfhrlpv code require uri nrequire net http n nurl uri https api gameye io available location image n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest accept application json n nresponse https request request nputs response read body n language ruby customlabel selectedlanguageid 3pnle1twnec82 pxalszz description currentnewparameter label body parameter value bodydataparameters