1.1.10 • Published 6 years ago

today_weather v1.1.10

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

DOCUMENTATION today_weather

DESCRIPTION

INSTALLATION

  • GLOBAL npm i today_weather --global
  • LOCAL npm i today_weather --save

GET API

USAGE

*Import package

const today_weather = require('today_weather');

*You put your api key

today_weather.NewOpenWeather('API_KEY');
  • PARAMETERS:
  • 1.- String value : city name.
  • 2.- Number value : geographic coordinate latitude.
  • 3.- Number value : geographic coordinate longitude.

  • You can try only with the city name.

  • To test only with geofraphic coordinates the first parameter must be null.

  • THIS FUNCTION RETURNS A PROMISE OBJECT

var result = today_weather.OpenWeather(param1, param2, param3);

VIEW RESULT

result.then((result)=> {
   console.log(result);
}).catch((reason) => {
   console.log(reason);
})

LICENSE

MIT

TEST MOCHA

Screenshot

CONTACT

cmaring1994@gmail.com

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago