1.0.1 • Published 5 years ago

weather-data v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Weather Data API Requests

The Weather Data tool creates an interface between node.js applications and both the Open Weather API and the National Weather Service API.

The Requests avaliable are: 1. Open Weather API | Current Weather 2. Open Weather API | 5 Day Forecast - 3 Hour Increments 3. National Weather Service API | Current Weather (United States Lat/Lon Only)

Usage

npm install weather-data

const weather = require('weather-data')

Refer to request time: weather.globalCoordinatesWeekly(latitude, longitude, apiKey, units) weather.globalCoordinatesCurrent(latitude, longitude, apiKey, units) weather.readByCoordinates = function(latitude, longitude)