open_weather_map_client library

Classes

City
City detailed information
Country
Country information.
OpenWeatherMap
Useful to obtain weather data, it connects with the Open Weather Map API.
OpenWeatherMapProvider
Useful to obtain weather data, it connects with the Open Weather Map API.
Weather
Weather information.

Enums

Language
All languages available in Open Weather Map API.

Constants

apiAuthority → const String
Contain the api authority is the main domain.
apiCurrentWeatherPath → const String
This is an internal parameter used in api url to obtain the current climate.
apiFiveDayForecastPath → const String
This is an internal parameter used in api url to get the 5 day weather data.
apiUnencodedPath → const String
Contain the unencoded path, after main domain.
countries → const Map<String, String>
Map with all countries in English use ISO 3166-1 key to get country name.

Functions

languageCode(Language language) String
Defines a string with available language.