Questions tagged [google-weather-api]

Google used to have its own weather API. As of August 2012, Google shut it down.

Google used to have a weather API.

In 2012, Google shut it down.


Related tags

67 questions
9
votes
5 answers

Google API to Get Weather Information

I need to fetch the weather information based on the user's current location. Please provide me the Google API to get the weather info. I am using http://www.google.com/ig/api?weather=Mumbai, but Google is returning some error: We're sorry... ...…
MobileApp Developer
  • 384
  • 1
  • 3
  • 12
8
votes
5 answers

Simplexml_load_string() fail to parse error

I'm trying to load parse a Google Weather API response (Chinese response). Here is the API call. // This code fails with the following error $xml = simplexml_load_file('http://www.google.com/ig/api?weather=11791&hl=zh-CN'); ( ! ) Warning:…
John Himmelman
  • 21,504
  • 22
  • 65
  • 80
8
votes
1 answer

Google Weather API returning strange new error

I'm using the Google Weather API in an iPhone app, and lately sometimes it has been returning a 403 error, but now it's returning a really funky error saying "Unknown API" no matter what location I enter into it.Example here. Does anybody know…
Roger O'Brien
  • 458
  • 1
  • 5
  • 16
5
votes
4 answers

Using Google Weather API with Lat and Lon - how to format?

I want to use the Google Weather API - by passing lat and long values. I am storing these values, however it seems Google needs these values in different format. i.e. For the town of McTavish I have values of 45.5 and -73.583 This works here:…
Paul
  • 51
  • 1
  • 1
  • 2
5
votes
2 answers

Can I use the Google Weather API in a commercial project?

Can I use the Google Weather API in a commercial project, if I just added a "weather powered by Google" link?
OrElse
  • 9,709
  • 39
  • 140
  • 253
5
votes
2 answers

How to hide or display a Google Maps Layer?

I have prepared a simplified test case and a screenshot. I think I'm missing a tiny bit, just few lines of code. I have 2 overlays (the weather and clouds) in my JavaScript Google Map and would like to hide or show them when a corresponding check…
3
votes
1 answer

Google Weather API temperature conversion

Google weather API shows temperature in Fahrenheit. After watching this post, I was able to convert temperature from F to C. However, it shows like 17.222222222222° C - 28.888888888889° C, Clear. How can i make it only 17° C-28° C. Thanks in…
Adnan
  • 8,468
  • 9
  • 29
  • 45
3
votes
2 answers

Taking input in link

This is an api:=> http://www.google.com/ig/api?weather=[city name] When i manually put [city name] like http://www.google.com/ig/api?weather=dhakaThen,It's works perfectly.Is there any way to take user input for city name.
Adnan
  • 8,468
  • 9
  • 29
  • 45
3
votes
3 answers

Replace given source

I made a plugin with Google Weather API and I am currently pulling the images from Google's API. For a sunny day I'm pulling http://www.google.com//ig/images/weather/sunny.gif. I am looking for a way so that when ever sunny.gif is pulled, replace…
jQuerybeast
  • 14,130
  • 38
  • 118
  • 196
3
votes
3 answers

Python HTTP Error 403 Forbidden

I am a bit of a Python Newbie, and I've just been trying to get some code working. Below is the code, and also the nasty error I keep getting. import pywapi import string google_result = pywapi.get_weather_from_google('Brisbane') print…
Aloogy
  • 128
  • 2
  • 15
2
votes
3 answers

Changing weather icon on google weather api

Hi I just want to ask what is the bestway to change the weather icon on google weather api, changing it's path to mysite.com/images/weather rather than /ig/images/weather. I saw one with the same problem here in stack overflow but I don't know how…
Frank Sean
  • 21
  • 1
  • 2
2
votes
1 answer

Toggling Weather Layers in Google Maps v3

I've looked through the answers for other questions similar to mine, but I'm still unable to get my code to work. Right now, I'm simply trying to add a toggle on/off button for the weather layer on the map. However, nothing happens when I click the…
2
votes
2 answers

Get text from a part of website VB.NET

I need to know how to copy a part of a website (the text) from VB.NET code. For example, I have this "site": https://www.google.ro/search?sugexp=chrome,mod=8&sourceid=chrome&ie=UTF-8&q=my+location How can I copy the part with my location? Or...I…
Veres Robert
  • 57
  • 2
  • 10
2
votes
2 answers

Google Weather API Request doesn't work.Gives Request Timed out

I have a simple Gadget which shows weather details. I am using this google api to get weather details of any area through its zipcode "https://www.google.com/ig/api?weather=ZipCode" everything was working fine. But now, same code, gives me 'Request…
user1186860
1
vote
2 answers

Is it possible to SELECT just an attribute's value from XML or RSS using YQL?

I've got some YQL queries from XML and RSS that are returning more than what I want to SELECT. I'm getting all the XML from the itemPath down to the attribute value, which I then have to sift through to dig out just the values I want: This…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
1
2 3 4 5