Skip to content

Instantly share code, notes, and snippets.

@IskenHuang
Created December 17, 2012 10:10
Show Gist options
  • Save IskenHuang/4317221 to your computer and use it in GitHub Desktop.
Save IskenHuang/4317221 to your computer and use it in GitHub Desktop.
//yahoo weather
NSLog(@"%@", [YahooAPI yahooAPIWeatherWithWOEID:@"12703518"]);
NSLog(@"%@", [YahooAPI yahooAPIWeatherWithWOEID:@"12703518" unit:YAHOO_WEATHER_UNIT_CELSIUS]);
NSLog(@"%@", [YahooAPI yahooAPIWeatherWithWOEID:@"12703518" unit:YAHOO_WEATHER_UNIT_FAHRENHEIT]);
//yahoo woeid
NSLog(@"%@", [YahooAPI yahooAPIWOEIDWithLatitude:25.049826 Longitude:121.572586]);
NSLog(@"%@", [YahooAPI yahooAPIWOEIDWithAddress:@"台北市大安區敦化南路二段267號"]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment