Skip to content

Instantly share code, notes, and snippets.

@cmin764
Last active November 23, 2023 09:16
Show Gist options
  • Select an option

  • Save cmin764/7ba3c733dd80950698f22b63b3b58949 to your computer and use it in GitHub Desktop.

Select an option

Save cmin764/7ba3c733dd80950698f22b63b3b58949 to your computer and use it in GitHub Desktop.
OpenWeather `/data/2.5/weather` response sample
{
"coord": {
"lon": 115.264,
"lat": -8.5081
},
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "overcast clouds",
"icon": "04d"
}
],
"base": "stations",
"main": {
"temp": 302.41,
"feels_like": 306.86,
"temp_min": 302.41,
"temp_max": 302.81,
"pressure": 1007,
"humidity": 72,
"sea_level": 1007,
"grnd_level": 984
},
"visibility": 10000,
"wind": {
"speed": 2.94,
"deg": 141,
"gust": 2.99
},
"clouds": {
"all": 92
},
"dt": 1700729937,
"sys": {
"type": 2,
"id": 2020640,
"country": "ID",
"sunrise": 1700689747,
"sunset": 1700734892
},
"timezone": 28800,
"id": 1622846,
"name": "Ubud",
"cod": 200
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment