simple-weather-api

Simple weather api based on given keyword

Usage no npm install needed!

<script type="module">
  import simpleWeatherApi from 'https://cdn.skypack.dev/simple-weather-api';
</script>

README

simple-weather-api-openweatherapi

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.