Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var params = {
- proxyScheme: undefined /* STRING */,
- headers: undefined /* JSON */,
- ignoreSSLErrors: undefined /* BOOLEAN */,
- useNTLM: undefined /* BOOLEAN */,
- workstation: undefined /* STRING */,
- useProxy: undefined /* BOOLEAN */,
- withCookies: undefined /* BOOLEAN */,
- proxyHost: undefined /* STRING */,
- url: "http://api.openweathermap.org/data/2.5/weather?lat="+lat +"&lon="+long+"&APPID=713a1e959a1e201e656066d227e7e6e5" /* STRING */,
- timeout: undefined /* NUMBER */,
- proxyPort: undefined /* INTEGER */,
- password: undefined /* STRING */,
- domain: undefined /* STRING */,
- username: undefined /* STRING */
- };
- // result: JSON
- var result = Resources["ContentLoaderFunctions"].GetJSON(params);
- //var result = result["weather"][0]["main"];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement