3 ms·
Their API is good aside from going down for a couple hours every once in awhile. I'm using yahoo's yql to get weather by lat/lon: $req = "GET /v1/public/yql?q
by jolan 16y ago
Their API is good aside from going down for a couple hours every once in awhile.
I'm using yahoo's yql to get weather by lat/lon:
$req = "GET /v1/public/yql?q=";
$req .= urlencode("use 'http://github.com/yql/yql-tables/raw/master/weather/weather.woeid.xml http://github.com/yql/yql-tables/raw/master/weather/weather.... as we;select * from we where w in (select place.woeid from flickr.places where lat=\"$lat\" and lon=\"$lon\") and
u='c'");
$data = $this->http_request("query.yahooapis.com
", $req);