1.2.1 • Published 3 years ago

node-ts-open-weather-map v1.2.1

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

Build Status Coverage Status semantic-release npm version Donate

Simplified OpenWeatherMap API client

Example

try {
  const { OpenWeatherMapApi } = require('node-ts-open-weather-map')
  const openWeatherMapApi = new OpenWeatherMapApi({
    key: process.env.OpenWeatherMapApiKey
  })

  const data = await openWeatherMapApi.byCityName({
    name: 'London',
    countryCode: 'gb'
  })

  console.log(data)
} catch (error) {
  console.log(error)
}

Installation

$ npm i node-ts-open-weather-map

Credits

This software uses the following open source packages:

License

MIT

Donations

Buy Me A Coffee

1.2.1

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago