Code : Tout sélectionner
{
"response": {
"version": "0.1",
"termsofService": "http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"conditions": 1
}
},
"current_observation": {
"image": {
"url": "http://icons.wxug.com/graphics/wu2/logo_130x80.png",
"title": "Weather Underground",
"link": "http://www.wunderground.com"
},
"display_location": {
"full": "Mondoubleau, France",
"city": "Mondoubleau",
"state": "41",
"state_name": "France",
"country": "FR",
"country_iso3166": "FR",
"zip": "00000",
"magic": "63",
"wmo": "07140",
"latitude": "47.97999954",
"longitude": "0.89999998",
"elevation": "153.0"
},
"observation_location": {
"full": "Mondoubleau, Mondoubleau, 41",
"city": "Mondoubleau, Mondoubleau",
"state": "41",
"country": "FR",
"country_iso3166": "FR",
"latitude": "47.981144",
"longitude": "0.905529",
"elevation": "0 ft"
},
"estimated": {},
"station_id": "I41MONDO2",
"observation_time": "Last Updated on February 9, 10:38 AM CET",
"observation_time_rfc822": "Thu, 09 Feb 2017 10:38:10 +0100",
"observation_epoch": "1486633090",
"local_time_rfc822": "Thu, 09 Feb 2017 10:39:51 +0100",
"local_epoch": "1486633191",
"local_tz_short": "CET",
"local_tz_long": "Europe/Paris",
"local_tz_offset": "+0100",
"weather": "Mostly Cloudy",
"temperature_string": "39.4 F (4.1 C)",
"temp_f": 39.4,
"temp_c": 4.1,
"relative_humidity": "80%",
"wind_string": "Calm",
"wind_dir": "SW",
"wind_degrees": 225,
"wind_mph": 0.6,
"wind_gust_mph": "3.1",
"wind_kph": 1,
"wind_gust_kph": "5.0",
"pressure_mb": "1024",
"pressure_in": "30.24",
"pressure_trend": "0",
"dewpoint_string": "34 F (1 C)",
"dewpoint_f": 34,
"dewpoint_c": 1,
"heat_index_string": "NA",
"heat_index_f": "NA",
"heat_index_c": "NA",
"windchill_string": "39 F (4 C)",
"windchill_f": "39",
"windchill_c": "4",
"feelslike_string": "39 F (4 C)",
"feelslike_f": "39",
"feelslike_c": "4",
"visibility_mi": "6.2",
"visibility_km": "10.0",
"solarradiation": "--",
"UV": "0",
"precip_1hr_string": "-999.00 in ( 0 mm)",
"precip_1hr_in": "-999.00",
"precip_1hr_metric": " 0",
"precip_today_string": "0.00 in (0 mm)",
"precip_today_in": "0.00",
"precip_today_metric": "0",
"icon": "mostlycloudy",
"icon_url": "http://icons.wxug.com/i/c/k/mostlycloudy.gif",
"forecast_url": "http://www.wunderground.com/global/stations/07140.html",
"history_url": "http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=I41MONDO2",
"ob_url": "http://www.wunderground.com/cgi-bin/findweather/getForecast?query=47.981144,0.905529",
"nowcast": ""
}
}
Est ce que cette URL te donne une prevision ? - non elle donne des info a l'instant T
Désolé d’être franc, et cela ne va pas te plaire, mais tu ne fais aucun effort ni de lecture, ni de reflexion, ni de recherche, ce que tu veux c'est que l'on fasse ton truc a ta sauce, et bien non, je ne marche pas.