Question

How do I fetch current weather-temperature (based on ZipCode), using XCode with Objective-C? Is there an API (framework/library)? I can't seem to find one using Google. With the project I'm working on right now, all I need to do is simply fetch an integer (e.g., degrees fahrenheit).

**This is for Mac OS X, not iOS.

Was it helpful?

Solution

Here are five different ones you can look into.

http://blog.programmableweb.com/2009/04/15/5-weather-apis-from-weatherbug-to-weather-channel/

Do any fit your needs?

OTHER TIPS

I use World Weather Online. It's free and pretty comprehensive. It will fit your needs, of course. Here is the local weather API, where you can input zip codes.

OpenWeatherMap gets my vote. I wrote a wrapper for it so that you don't have to touch the JSON. The link is here if it helps - http://jonathanfield.me/objective-c-openweathermap-api-wrapper/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top