//$query = "http://api.wunderground.com/api/$apikey/conditions/q/$state/$city.json";
//$query = "http://api.wunderground.com/api/$apikey/conditions/q/$zip.json";
http://api.wunderground.com/api/$apikey/conditions/q/60426.json
Returns
//$query = "http://api.wunderground.com/api/$apikey/conditions/q/$zip.json";
Returns
Question Is Where Is The Three Day Forcast?
//$query = "http://api.wunderground.com/api/$apikey/conditions/q/$zip.json";
http://api.wunderground.com/api/$apikey/conditions/q/60426.json
Returns
Code:
{
"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":"Harvey, IL",
"city":"Harvey",
"state":"IL",
"state_name":"Illinois",
"country":"US",
"country_iso3166":"US",
"zip":"60426",
"magic":"1",
"wmo":"99999",
"latitude":"41.60861969",
"longitude":"-87.66803741",
"elevation":"188.00000000"
},
"observation_location": {
"full":"151st & Central Ave., Oak Forest, Illinois",
"city":"151st & Central Ave., Oak Forest",
"state":"Illinois",
"country":"US",
"country_iso3166":"US",
"latitude":"41.617859",
"longitude":"-87.755424",
"elevation":"645 ft"
},
"estimated": {
},
"station_id":"KILOAKFO3",
"observation_time":"Last Updated on March 24, 8:31 AM CDT",
"observation_time_rfc822":"Tue, 24 Mar 2015 08:31:50 -0500",
"observation_epoch":"1427203910",
"local_time_rfc822":"Tue, 24 Mar 2015 08:31:58 -0500",
"local_epoch":"1427203918",
"local_tz_short":"CDT",
"local_tz_long":"America/Chicago",
"local_tz_offset":"-0500",
"weather":"Partly Cloudy",
"temperature_string":"25.3 F (-3.7 C)",
"temp_f":25.3,
"temp_c":-3.7,
"relative_humidity":"71%",
"wind_string":"From the East at 4.9 MPH Gusting to 8.9 MPH",
"wind_dir":"East",
"wind_degrees":90,
"wind_mph":4.9,
"wind_gust_mph":"8.9",
"wind_kph":7.9,
"wind_gust_kph":"14.3",
"pressure_mb":"1026",
"pressure_in":"30.30",
"pressure_trend":"+",
"dewpoint_string":"17 F (-8 C)",
"dewpoint_f":17,
"dewpoint_c":-8,
"heat_index_string":"NA",
"heat_index_f":"NA",
"heat_index_c":"NA",
"windchill_string":"19 F (-7 C)",
"windchill_f":"19",
"windchill_c":"-7",
"feelslike_string":"19 F (-7 C)",
"feelslike_f":"19",
"feelslike_c":"-7",
"visibility_mi":"10.0",
"visibility_km":"16.1",
"solarradiation":"--",
"UV":"1","precip_1hr_string":"0.00 in ( 0 mm)",
"precip_1hr_in":"0.00",
"precip_1hr_metric":" 0",
"precip_today_string":"0.00 in (0 mm)",
"precip_today_in":"0.00",
"precip_today_metric":"0",
"icon":"partlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/partlycloudy.gif",
"forecast_url":"http://www.wunderground.com/US/IL/Harvey.html",
"history_url":"http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KILOAKFO3",
"ob_url":"http://www.wunderground.com/cgi-bin/findweather/getForecast?query=41.617859,-87.755424",
"nowcast":""
}
}
//$query = "http://api.wunderground.com/api/$apikey/conditions/q/$zip.json";
Returns
Code:
Nerd Vittles Weather by Weather Underground ver. 5.1 (c) Copyright 2007-2012, Ward Mundy. All Rights Reserved.
March 24, 2015 - 08:52:18 *** New session ***
agi_request: nv-weather-wunderground.php
agi_channel: IAX2/801-14121
agi_language: en
agi_type: IAX2
agi_uniqueid: 1427205126.56
agi_version: 12.8.0-rc2
agi_callerid: 801
agi_calleridname: IAX Mobile Personal
agi_callingpres: 1
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: 947
agi_rdnis: unknown
agi_context: from-internal
agi_extension: 947
agi_priority: 8
agi_enhanced: 0.0
agi_accountcode:
agi_threadid: 139802102200064
agi_arg_1: 60426
Location: 60426
Forecast: "Here are the latest weather conditions and the 3 day forecast for 60426. Brought to you by Weather Underground and Nerd Vittles. Currently: Partly Cloudy. Temperature: 26.4 degrees fahrenheit. -3.1 degrees centigrade. Relative humidity: 70 per cent. Barometric pressure: 30.30 inches. Wend direction and speed: From the east northeast at 5.8 miles per hour Gusting to 5.8 miles per hour. Visibility: 10 miles. Here is the 3 day forecast. ponse": {
"version":"0.1: fService":"http://www.wunderground.com/weather/api/d/terms.htm. tures": {
"forecast": 1
}
: {
"type": "querynotfound"
"description": "No cities match your search query"
}
}
}. e": "querynotfound"
: on": "No cities match your search query"
}
}
}. cities match your search query"
}
}
}: h your search query"
}
}
}. arch query"
}
}
}: }
}
}. : . Have a nice day. Good bye."
SET VARIABLE WEATHER "Here are the latest weather conditions and the 3 day forecast for 60426. Brought to you by Weather Underground and Nerd Vittles. Currently: Partly Cloudy. Temperature: 26.4 degrees fahrenheit. -3.1 degrees centigrade. Relative humidity: 70 per cent. Barometric pressure: 30.30 inches. Wend direction and speed: From the east northeast at 5.8 miles per hour Gusting to 5.8 miles per hour. Visibility: 10 miles. Here is the 3 day forecast. ponse": {
"version":"0.1: fService":"http://www.wunderground.com/weather/api/d/terms.htm. tures": {
"forecast": 1
}
: {
"type": "querynotfound"
"description": "No cities match your search query"
}
}
}. e": "querynotfound"
: on": "No cities match your search query"
}
}
}. cities match your search query"
}
}
}: h your search query"
}
}
}. arch query"
}
}
}: }
}
}. : . Have a nice day. Good bye."
200 result=1
Question Is Where Is The Three Day Forcast?