theweatherapi
Advanced tools
Comparing version 2.1.3 to 2.1.4
{ | ||
"name": "theweatherapi", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "An NPM Library used to get weather info", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -14,52 +14,52 @@ const CurrentAPI = require('./api/CurrentAPI'); | ||
class RequestHandler { | ||
constructor() | ||
/** | ||
* The Search API | ||
* @type {SearchAPI} | ||
*/ | ||
search = new SearchAPI(); | ||
constructor() { | ||
/** | ||
* The Search API | ||
* @type {SearchAPI} | ||
*/ | ||
this.search = new SearchAPI(); | ||
/** | ||
* The Forecast API | ||
* @type {ForecastAPI} | ||
*/ | ||
forecast = new ForecastAPI(); | ||
/** | ||
* The Forecast API | ||
* @type {ForecastAPI} | ||
*/ | ||
this.forecast = new ForecastAPI(); | ||
/** | ||
* The Current API | ||
* @type {CurrentAPI} | ||
*/ | ||
current = new CurrentAPI(); | ||
/** | ||
* The Current API | ||
* @type {CurrentAPI} | ||
*/ | ||
this.current = new CurrentAPI(); | ||
/** | ||
* The Current API | ||
* @type {AstronomyAPI} | ||
*/ | ||
astronomy = new AstronomyAPI(); | ||
/** | ||
* The Current API | ||
* @type {AstronomyAPI} | ||
*/ | ||
this.astronomy = new AstronomyAPI(); | ||
/** | ||
* The Current API | ||
* @type {SportsAPI} | ||
*/ | ||
sports = new SportsAPI(); | ||
/** | ||
* The Current API | ||
* @type {SportsAPI} | ||
*/ | ||
this.sports = new SportsAPI(); | ||
/** | ||
* The Current API | ||
* @type {HistoryAPI} | ||
*/ | ||
history = new HistoryAPI(); | ||
/** | ||
* The Current API | ||
* @type {HistoryAPI} | ||
*/ | ||
this.history = new HistoryAPI(); | ||
/** | ||
* The Current API | ||
* @type {TimezoneAPI} | ||
*/ | ||
timezone = new TimezoneAPI(); | ||
/** | ||
* The Current API | ||
* @type {TimezoneAPI} | ||
*/ | ||
this.timezone = new TimezoneAPI(); | ||
/** | ||
* The Current API | ||
* @type {IPAPI} | ||
*/ | ||
ip = new IPAPI(); | ||
/** | ||
* The Current API | ||
* @type {IPAPI} | ||
*/ | ||
this.ip = new IPAPI(); | ||
} | ||
/** | ||
@@ -66,0 +66,0 @@ * Makes a request to the specified API endpoint. |
83666
2019