Last active
December 27, 2015 18:59
-
-
Save joeyoun9/7373854 to your computer and use it in GitHub Desktop.
MesoWest API HelloWorld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.getJSON('http://api.mesowest.net/stations?callback=?', | |
{ | |
// specify the request parameters here | |
stid:stn, | |
latestobs:1, | |
token:tkn | |
}, | |
function (data) | |
{ | |
/* | |
* do something with your returned data | |
*/ | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment