OpenWeatherV2 constructor
Loadable API key
Optionalcache: IAsyncCache<optional async cache implementation
optional API handler implementation for mocking
get weather with city name and optional country code
City name
OptionalcountryCode: Optional Country code
Common options, example {lang: 'fi', units: 'metric'}, defaults {lang: 'en', units: 'standard'}
Weather data Result Promise
get weather by Id
Weather station ID
Common options, example {lang: 'fi', units: 'metric'}, defaults {lang: 'en', units: 'standard'}
Weather data Result Promise
get weather with latitude and longitude with Result
Latitude
Longitude
Common options, example {lang: 'fi', units: 'metric'}, defaults {lang: 'en', units: 'standard'}
Weather data Result Promise
Open Weather V2 API
Example
Since
v0.0.1