Advertisement
Guest User

Untitled

a guest
Oct 31st, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1.  
  2. var params = {
  3. proxyScheme: undefined /* STRING */,
  4. headers: undefined /* JSON */,
  5. ignoreSSLErrors: undefined /* BOOLEAN */,
  6. useNTLM: undefined /* BOOLEAN */,
  7. workstation: undefined /* STRING */,
  8. useProxy: undefined /* BOOLEAN */,
  9. withCookies: undefined /* BOOLEAN */,
  10. proxyHost: undefined /* STRING */,
  11. url: "http://api.openweathermap.org/data/2.5/weather?lat="+lat +"&lon="+long+"&APPID=713a1e959a1e201e656066d227e7e6e5" /* STRING */,
  12. timeout: undefined /* NUMBER */,
  13. proxyPort: undefined /* INTEGER */,
  14. password: undefined /* STRING */,
  15. domain: undefined /* STRING */,
  16. username: undefined /* STRING */
  17. };
  18.  
  19. // result: JSON
  20.  
  21. var result = Resources["ContentLoaderFunctions"].GetJSON(params);
  22. //var result = result["weather"][0]["main"];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement