@bifot/openweathermap-api
API for openweathermap.com
Last updated 2 years ago by bifot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bifot/openweathermap-api 
SYNC missed versions from official npm registry.

Open Weather Map

API for openweathermap.

Install

$ npm i @bifot/openweathermap-api -S

Tests

$ npm test

Usage

// get weather by name
await api.getWeather({
  q: 'London'
})

// get weather by coordinates
await api.getWeather({
  lat: 51.51,
  lon: -0.13
})

// get weather by zip
await api.getWeather({
  zip: '94040,us'
})

License

MIT.

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 2
Last Month 3
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |