1.0.4 • Published 7 years ago

openweathermapapi v1.0.4

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

OWM Api Module for Nodejs

install

You can install this Nodejs module trough npm by using this command add a --save behind if you want add this module to your dependencies in your package.json

npm i openweathermapapi

usage

this module is Promise based and you can find the result object in the example folder of this repo

example usage:

const WeatherApi  = require('openweathermapapi')

const City = "Your City here"
const ApiKey = "Your Api Key Here"

WeatherApi.byName(City, ApiKey)
    .then(result => {
            console.log(result.weather.advanced)
        }
    )
    .catch(console.error)
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago