📜  没有密钥的天气 api - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:52.678000             🧑  作者: Mango

代码示例3
this is the url("https://fcc-weather-api.glitch.me/api/current?lat=35&lon=139")

this is the type of response you will be getting

{"coord":{"lon":139,"lat":35},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"https://cdn.glitch.com/6e8889e5-7a72-48f0-a061-863548450de5%2F04d.png?1499366020964"}],"base":"stations","main":{"temp":24.44,"feels_like":25.36,"temp_min":24.44,"temp_max":24.44,"pressure":1007,"humidity":55},"wind":{"speed":0.89,"deg":292,"gust":1.34},"clouds":{"all":52},"dt":1588646709,"sys":{"type":3,"id":2019346,"country":"JP","sunrise":1588621749,"sunset":1588671130},"timezone":32400,"id":1851632,"name":"Shuzenji","cod":200}