Difference between API and URL (website)

  • 6
  • Problem
  • Updated 3 years ago
We have been using the Wunderground API for almost a year now and have been very satisfied with your service. However, we are also very concerned about a potentially serious issue that has been brought to our attention recently. We’ve noticed that the measurements in the Wunderground API differs from the measurements provided in your website. As an example:
• Website: http://www.wunderground.com/cgi-bin/f...
• API: http://api.wunderground.com/api/7d44f...
Can you please review and advise where the difference might be coming from and how we can get the most accurate and up-to-date measurements from your API service?

Kind Regards
Photo of LCWaikiki


  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 6
Photo of WunderWilliam


  • 267 Posts
  • 17 Reply Likes
We're testing out a new forecasting system on the website.

Once we're satisfied with its accuracy, we'll roll it over to the API.
Photo of moater11


  • 43 Posts
  • 7 Reply Likes
I noticed that yesterday was matching the API with WU Website and now again is back to old system. Can you please confirm if was implemented in API yesterday?

The location I was checking was EGLL and LRBS.

Can you also be more specific on timelines for the new system to be migrated to API. While I understand that first needs to be approved for WU site, the expectation (communicated by your team) was that in January 2014 will be implemented also in API.

Many thanks again.
Photo of klamberth


  • 1 Post
  • 0 Reply Likes
I'm having a similar issue with pressure_in - It doesn't seem to match the website or weatherlink IP.

$temp_f = $parsed_json->{'current_observation'}->{'temp_f'};
$relative_humidity = $parsed_json->{'current_observation'}->{'relative_humidity'};
$pressure_in = $parsed_json->{'current_observation'}->{'pressure_in'};
$wind_degrees = $parsed_json->{'current_observation'}->{'wind_degrees'};
$wind_kph = $parsed_json->{'current_observation'}->{'wind_kph'};
$observation_time = $parsed_json->{'current_observation'}->{'observation_time'};
$precip_today_in = $parsed_json->{'current_observation'}->{'precip_today_in'};
$station_id = $parsed_json->{'current_observation'}->{'station_id'};
$pressure_mb = $parsed_json->{'current_observation'}->{'pressure_mb'};
$dewpoint_f = $parsed_json->{'current_observation'}->{'dewpoint_f'};
$pressure_trend = $parsed_json->{'current_observation'}->{'pressure_trend'};
$feelslike_f = $parsed_json->{'current_observation'}->{'feelslike_f'};

echo "Your Station ID is: ${station_id}- PilotPort HQ\n
echo "Current Temperature in ${location} is: ${temp_f} F \n
echo "Feels Like: ${feelslike_f} F\n
echo "Current Dewpoint is: ${dewpoint_f} F\n
echo "Current Humidity is: ${relative_humidity}\n
echo "Current Pressure is: ${pressure_in} In\n
echo "Current Wind is: ${wind_kph} Knots at ${wind_degrees} degrees\n
echo "Rainfall today is: ${precip_today_in} Inches\n
echo "Pressure right now in Millibars is: ${pressure_mb}\n
echo "Observation Time is: ${observation_time}\n
echo "Pressure Trend: ${pressure_trend}\n