一个免费的天气预报json服务
这边有一个天气预报服务,提供json数据。链接是http://mrlu.host22.com/weather.php?callback=cb
返回结果是:
cb({"city":"London,UK","fdate":"2009-07-08","ctime":"2009-07-08 16:55:54 +0000","unit"
:"US","cond":"Mostly Cloudy","ftemp":"66","ctemp":"19","humi":"Humidity: 64%","icon":"/ig/images/weather
/mostly_cloudy.gif","week1":"Wed","low1":"56","high1":"70","icon1":"/ig/images/weather/chance_of_storm
.gif","cond1":"Scattered Tnunderstorms","week2":"Thu","low2":"61","high2":"77","icon2":"/ig/images/weather
/partly_cloudy.gif","cond2":"Partly Cloudy","week3":"Fri","low3":"68","high3":"79","icon3":"/ig/images
/weather/chance_of_storm.gif","cond3":"Isolated Thunderstorms","week4":"Sat","low4":"58","high4":"77"
,"icon4":"/ig/images/weather/chance_of_storm.gif","cond4":"Scattered Tnunderstorms"});
大家看看有啥问题