1.6.0 • Published 7 years ago
simple-weather-api v1.6.0
simple-weather-api-openweatherapi
- This npm is for openweatherapi API key can be obtain from https://openweathermap.org/appid
Usage
var WeatherAPI = require('simple-weather-api');
var keyword = "bangalore"; var apikey = "xxxxxxxxxxx";
var weather = new WeatherAPI(apikey); weather.getWeather(keyword) .then(response => { console.log("response....."+response.body); } );
Developing
Tools
Created with Nodeclipse (Eclipse Marketplace, site)
Nodeclipse is free open-source project that grows with your contributions.