天気予報APIから情報を取得します
//{"weather":clouds,"next":clouds,"weather_date":1382389200,"next_date":1382400000,"src_url":http://api.openweathermap.org/data/2.5/forecast?lat=35.6895&lon=139.692,"src_vendor":openweathermap}
//東京都の天気を取得します var w = weather_info("東京都"); //{"weather":clouds,"next":clouds,"weather_date":1382389200,"next_date":1382400000,"src_url":http://api.openweathermap.org/data/2.5/forecast?lat=35.6895&lon=139.692,"src_vendor":openweathermap} alert(w);