http://api.openweathermap.org/data/2.5/weather?q={Beijing},{CN}&units=metric&appid=2233c2ce7363b83f8bc8c182f74316bcunits:单位metric:公制单位,即温度为摄氏度{ "coord":{"lon":116.4,"lat":39.91}, "weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10d"}], "base":"stations", "main":{"temp":9.32,"pressure":1005.4,"humidity":98,"temp_min":9.32,"temp_max":9.32,"sea_level":1030.18,"grnd_level":1005.4}, "wind":{"speed":1.51,"deg":86.5003}, "rain":{"3h":3.765}, "clouds":{"all":92}, "dt":1477041090, #:utc time "sys":{"message":0.0044,"country":"CN","sunrise":1477002690,"sunset":1477041946}, "id":1816670, "name":"Beijing", "cod":200}
时间: 2024-10-20 13:00:28