WIP
This commit is contained in:
parent
123e09306b
commit
f66eb64998
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
async function fetchSeed(id) {
|
function fetchSeed(id) {
|
||||||
var HttpRequest = Packages.com.gmt2001.HttpRequest,
|
var HttpRequest = Packages.com.gmt2001.HttpRequest,
|
||||||
JSONObject = Packages.org.json.JSONObject;
|
JSONObject = Packages.org.json.JSONObject;
|
||||||
let request = HttpRequest.getData(HttpRequest.RequestType.GET,`https://www.geoguessr.com/api/v3/games/${id}`,{},{});
|
let request = HttpRequest.getData(HttpRequest.RequestType.GET,`https://www.geoguessr.com/api/v3/games/${id}`,{},{});
|
||||||
@ -11,7 +11,7 @@
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
async function getCountryBDC(location) {
|
function getCountryBDC(location) {
|
||||||
var HttpRequest = Packages.com.gmt2001.HttpRequest,
|
var HttpRequest = Packages.com.gmt2001.HttpRequest,
|
||||||
JSONObject = Packages.org.json.JSONObject;
|
JSONObject = Packages.org.json.JSONObject;
|
||||||
const BDC_KEY = "067c718d2bbd4a2ba8d0645e1633cac2";
|
const BDC_KEY = "067c718d2bbd4a2ba8d0645e1633cac2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user