Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

mhagrelius/wunderground-client

Repository files navigation

wunderground-client

Build Status codecov

A weather underground (wunderground) client library written with typescript. This project was born out of some basic needs to periodically fetch key weather data for a given zip code.

Installation Instructions

npm install wunderground-client

The code should work in browsers and node environments, but has been primarily tested using node.

PRs are welcome for expansion into API requests others need to have wrapped. Use the getCurrentConditions method as an example to build off of.

Example Usage

const weatherClient = new WundergroundClient('<api key goes here>')
const conditions = await weatherClient.getCurrentConditions('City', 'ST')