openweather-api-node
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "openweather-api-node", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Simple Node.js package that makes it easy to work with OpenWeather API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# openweather-api-node ☁️ | ||
![version](https://img.shields.io/badge/version-1.0.0-g?style=flat-square) | ||
![version](https://img.shields.io/npm/v/openweather-api-node?style=flat-square) | ||
![issues](https://img.shields.io/github/issues-raw/loloToster/openweather-api-node?style=flat-square) | ||
@@ -110,3 +110,3 @@ ![license](https://img.shields.io/badge/license-MIT-blue?style=flat-square) | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [getKey][gkey] | ||
@@ -127,3 +127,3 @@ ## getKey() | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [setKey][skey] | ||
@@ -143,3 +143,3 @@ ## setLanguage(lang) | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [getLanguage][glang] | ||
@@ -160,3 +160,3 @@ ## getLanguage() | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [setLanguage][slang] | ||
## setUnits(units) | ||
@@ -175,3 +175,3 @@ | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [getUnits][gunits] | ||
@@ -192,3 +192,3 @@ ## getUnits() | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [setUnits][sunits] | ||
@@ -208,3 +208,3 @@ ## setLocationByName(name) | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [getLocation][gloc] | ||
@@ -225,3 +225,3 @@ ## setLocationByCoordinates(lat, lon) | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [getLocation][gloc] | ||
@@ -247,3 +247,3 @@ ## `async` getLocation(options = {}) | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [setLocationByName][slocbyname], [setLocationByCoordinates][slocbycoor] | ||
@@ -269,3 +269,3 @@ ## `async` getCurrent(options = {}) | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [Weather Object][wobj] | ||
@@ -276,3 +276,3 @@ ## `async` getMinutelyForecast(limit = Number.POSITIVE_INFINITY, options = {}) | ||
Getter for [minutely]() weather | ||
Getter for minutely weather | ||
@@ -294,3 +294,3 @@ **Arguments:** | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [Weather Object][wobj] | ||
@@ -301,3 +301,3 @@ ## `async` getHourlyForecast(limit = Number.POSITIVE_INFINITY, options = {}) | ||
Getter for [hourly]() weather | ||
Getter for hourly weather | ||
@@ -319,3 +319,3 @@ **Arguments:** | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [Weather Object][wobj] | ||
@@ -326,3 +326,3 @@ ## `async` getDailyForecast(limit = Number.POSITIVE_INFINITY, includeToday = false, options = {}) | ||
Getter for [daily]() weather | ||
Getter for daily weather | ||
@@ -345,3 +345,3 @@ **Arguments:** | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [Weather Object][wobj] | ||
@@ -369,3 +369,3 @@ ## `async` getToday(options = {}) | ||
// or with options | ||
daily = await weather.getDailyForecast({coordinates:{ | ||
today = await weather.getToday({coordinates:{ | ||
lat: -33.84, | ||
@@ -375,3 +375,3 @@ lon: 151.18 | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [Weather Object][wobj], [getDailyForecast][gdaily] | ||
@@ -382,3 +382,3 @@ ## `async` getAlerts(options = {}) | ||
Getter for [alerts]() | ||
Getter for alerts | ||
@@ -431,3 +431,3 @@ **Arguments:** | ||
``` | ||
*See also:* [options][opt] | ||
*See also:* [options][opt], [Weather Object][wobj] | ||
@@ -451,5 +451,5 @@ ## mergeWeathers(weathers) | ||
let minutely = await weather.getMinutelyForecast() | ||
let full = await weather.mergeWeathers([minutely[20], current]) | ||
let full = weather.mergeWeathers([minutely[20], current]) | ||
``` | ||
*See also:* | ||
*See also:* [Weather Object][wobj] | ||
@@ -456,0 +456,0 @@ # Unique features of this package |
51713
15
859