I am building a weather station. All the examples I find on line take data from the core, through sensors and do stuff with that data.
I would like to connect a RGB LED to the core, then hit an API, take the data from the API (ie sunny, rainy, etc) and then light up the LED accordingly.
I am using the weatherunderground api (http://www.wunderground.com/weather/api/).
I have an API KEY, but i can’t figure out how to call the api from the core and then turn the LED to the correct color.
is this possible?
this is how i call the api to get a json formatted return:
http://api.wunderground.com/api/MYKEY/geolookup/q/15217.json
any help would be appreciated.
i just don’t know where to start.