Using Wunderground API in Swift -
my current project needs able display weather forecasts, , have decided use wunderground. because using api uncharted territory me, have two-part question. best way retrieve data it, , far can tell there quite few, , can wunderground use coordinates? idea have in mind: http://api.wunderground.com/api/56968011acc3e3eb/conditions/q/+35.70206910,+139.77532690.json
for retrieving data, you'll want swiftyjson parse json data api returns. then, once it's parsed , have json object representation of info, can access dictionary required fields. far using coordinates accessing api, took straight website, yes can. this: http://api.wunderground.com/api/your_key/geolookup/q/37.776289,-122.395234.json
Comments
Post a Comment