Google Weather API Feed Documentation

The base URL:
http://www.google.com/ig/api?

This is the base URL which can be extended with the following parameters:

The Weather parameter:
weather=location

Where location can be either a zip code (weather=24060); city name, state (weather=woodland,PA); city name, country (weather=london,england); or possibly others. Try it out and see what response you get back to test your location.

The language parameter:
hl=ISO 639-1 Language Code

For example, to get the weather for Paris, France in French, one would use the following URL:
http://www.google.com/ig/api?weather=paris,france&hl=fr

The Google Weather API is not an official public Google API so use it wisely. Also check out Yahoo’s Weather API for a more official, fully documented API.

你可能感兴趣的:(document)