Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

weather-yahoo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weather-yahoo

Search by location to get weather info from Yahoo

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 11 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc