1.0.2 • Published 10 years ago

weather-yahoo v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Yahoo Weather

npm npm Travis

NPM

There are a ton of yahoo weather modules, mine allows access to all of the information or just a subset.

Usage

To test it out, put the below code into Tonic and see the results, however, give it time (a few seconds) to talk with yahoo servers and return an answer.

var yw = require('weather-yahoo');
var ans = {};
yw.getSimpleWeather('denver,co').then(function(res){
    console.log(res);
    ans=res;
}); // pulls just some of the info from yahoo weather

yw.getFullWeather('denver,co').then(function(res){
    console.log(res);
    ans=res;
}); // returns full yahoo weather json

Also, Yahoo has a great developer network where you can play with code and see the full json format they return.

Examples

See the example to play with the output.

Change Log

VersionDateComments
1.0.211 Jan 16clean up and doc updates
1.0.010 Jan 16Finally published it to npm