Questions tagged [wunderground]

Weather Underground is a commercial weather service that provides real-time weather information via the Internet. Weather Underground provides weather reports for most major cities across the world on its Web site, as well as local weather reports for newspapers and Web sites.

Weather Underground is a commercial weather service that provides real-time weather information via the Internet. Weather Underground provides weather reports for most major cities across the world on its Web site, as well as local weather reports for newspapers and Web sites.

A public API is available to developers to make use of.


Useful links


Related tags

92 questions
0
votes
1 answer

In PHP, can a file_get_contents() accept a variable from another file_get_contents()?

So I am currently working with the Wunderground API using PHP. However, there seems to be a little snag I've encountered. I have stored a couple Wunderground API keys in a text file named Keys.txt. I then want to retrieve each said key and store…
0
votes
1 answer

Using cURL with wunderground api

Hey I'm having some issues using cURL (I can't use file_get_contents because my web host won't allow it) to access parts of the wunderground weather api. When I use the following code to access info on weather conditions I have no issues…
matt tuman
  • 83
  • 1
  • 5
  • 14
0
votes
2 answers

Weather Underground 10Day Forecast API

I'm trying to get a 10day forecast in my loaded10DayForcast function below but I'm getting the following error: Cannot read property 'simpleforecast' of undefined Seems like I don't know the correct api call based from this:…
DomX23
  • 867
  • 5
  • 13
  • 26
0
votes
1 answer

Json request comes back 'UNDEFINED' using Wunderground API

I have set up a function and a callback to retrieve some data regarding weather alerts. For some reason the data comes back as 'UNDEFINED'. I'm fetching the data through json although I would prefer to... fetch XML and callback json, however fetch…
ServerSideSkittles
  • 2,713
  • 10
  • 34
  • 60
0
votes
1 answer

If (set of conditions) do this, if (set of conditions) do this, if (set of conditions) do this. What?

So, I'm building a weather website, and I use Wunderground's API. In the AJAX XML dump, the value for "icon" seems to be the way to go. This response will dynamically change the CSS on the page. I have multiple statuses of the page that I want…
Caleb
  • 3
  • 3
0
votes
2 answers

Weather Underground API: Querying API by IP

I'm building a Weather class that is allowed to search by IP address. I am trying to implement the Wunderground API as one of the options to use. But, I can't seem to find a way to query the API with an IP address. I've tried this:…
Domenic Fiore
  • 534
  • 5
  • 11
0
votes
1 answer

javascript xpcom component to download weather underground weather data

I am building a javascript component for Firefox that will take in a zip code, and will return the current weather conditions. The sample code that weather underground uses jQuery, but as I understand it, I cannot include this code in my javascript…
basil
  • 690
  • 2
  • 11
  • 30
0
votes
1 answer

Weather fetching is not working more than once

I have a problem with the Wunderground forecast that I am using to retrieve data in c# program. When I click to retrieve data once everything is working correctly but when I hit the button once more I am getting this error: Here is my code: …
user123_456
  • 5,635
  • 26
  • 84
  • 140
0
votes
2 answers

Reduce Repetitiion with AJAX JSON Calls to an API

I have about 15 copies of the following code on my site. The only things changing are the url, longitude, latitude, and the marker variable title. How can I chop this up and reduce the repetition? $.ajax({ url:…
Ryan Clark
  • 764
  • 1
  • 8
  • 29
0
votes
1 answer

Wunderground API to get hourly forecast returns error. - Python

I'm trying to get the hourly forecast from the Wunderground API but my code returns this error. Traceback (most recent call last): File "weathergraph.py", line 10, in forecast =…
A Clockwork Orange
  • 23,913
  • 7
  • 25
  • 28
-1
votes
2 answers

How do I use PHP to read the JSON output for ALERTS from Wunderground?

It seems that reading the 'conditions' JSON output from Wunderground is very different than readying the output from 'alerts'. Below is a simplified version of my code. $json_stringalert =…
Keith D Kaiser
  • 1,016
  • 2
  • 14
  • 31
-1
votes
1 answer

Temperature weather color change

I done for my jQuery weather from wundground, I just want make color for temperature change auto higher or lower and this code I use but I don't know how use CSS inside jQuery. function check(temp_c) { if (temp_c < 1 && temp_c > 10) …
ALI GHASSAN
  • 221
  • 1
  • 4
  • 13
-1
votes
1 answer

How to download historical weather data using Wunderground API?

Is it possible to download historical weather data using Java from Wunderground API between two specific dates for a specific location ? From this link, it says that only available for a single date at a time. How to get weather data for specific…
kylas
  • 1,425
  • 6
  • 24
  • 38
-1
votes
1 answer

Parsing JSON data to Java for Android Weather App

Alright, so I'm trying to output some data from a JSON file from Weather Underground for an Android app. What I need is the current temperature and conditions for the day, for the next 10 days. The JSON data provided gives a 10 day outlook but I…
-1
votes
1 answer

Need help on how to Parse a response from Wunderground API Forecast for 3 days using Json

I have succeeded in parsing a response from the Wunderground API and displaying a response for the "current" weather conditions of a state and certain city. This tells me the exact temp and current conditions outside at the time of the call. I now…
Seth
  • 23
  • 7