import { OpenWeatherClient } from "https://deno.land/x/openweather_apis_wrapper@v0.4.4/mod.ts";
OpenWeather APIs wrapper client.
Constructors
OpenWeather APIs wrapper client.
Properties
The url to use for the OpenWeather API.
By default it uses OpenWeatherClient.baseAPIUrl (https://api.openweathermap.org), but you can customize it using OpenWeatherClientOptions.apiUrl
Methods
Gives you the coordinates of a location by its name.
Gives you the coordinates of a place by its zip or post code.
Gives you the current weather data for the given coordinates.
Use it only if really needed.
Check first if there is not already a method that suits your needs.
Set the default coordinates to use in certain methods.
Set to undefined or null if you want to remove the default coordinates.
Set the default language to use in certain methods.
Set to undefined or null if you want to remove the default language.
Set the default units to use in certain methods.
Set to undefined or null if you want to remove the default units.