wy
weather-yahoo
npm i weather-yahoo
wy

weather-yahoo

Search by location to get weather info from Yahoo

by Kevin Walchko

1.0.2 (see all)License:MITTypeScript:Not FoundCategories:Vanilla JavaScript Yahoo API
npm i weather-yahoo
Readme

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

Downloads/wk

4

GitHub Stars

0
No data available

LAST COMMIT

NaNyrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
No data available
VersionTagPublished
1.0.2
latest
6yrs ago
No tutorials found
Add a tutorial