使用yahoo yql语言查询,text 中的经纬度替换你要的就好了。
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.placefinder%20where%20text%3D%2239.0618491343%2C-96.5917968750%22%20and%20gflags%20%3D%20%22R%22)%20and%20u=%22c%22&format=json&diagnostics=true&callback=
通过经纬度获取yahoo天气 API,布布扣,bubuko.com
原文:http://blog.csdn.net/ncvip1314/article/details/22668299