4 ms·
Kind of OT: is the Weather Channel's api any good? I was considering using http://www.worldweatheronline.com/weather-api.aspx http://www.worldweatheronline.com/
by what 16y ago
Kind of OT: is the Weather Channel's api any good? I was considering using http://www.worldweatheronline.com/weather-api.aspx http://www.worldweatheronline.com/weather-api.aspx so that I can query by lat/long.
- jolan 16y agoTheir 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);