Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetch forecast from Google's weather API in node.js
JavaScript
Branch: master

README.md

node-google-weather

What it does

Fetch weather forecast from Google's weather API, return as javascript object.

Requires

How to use

var Weather = require('node-google-weather').Weather;
var weather = new Weather();

var options = {
      'query': {'weather': 'Washington, DC'},
      'format': 'plain'
};
weather.forecast(options, function(data) {
  // data will be an object with response
})

Credits

Something went wrong with that request. Please try again.