weather_open_meteo_client
1.1.1, released 4 months ago by petyaas.online
Dart client for Open-Meteo APIs covering forecast, historical, air quality, and marine data.
What it does
A pure Dart client for every free Open-Meteo API including forecast, historical weather, air quality, marine, flood, climate, ensemble, seasonal, satellite radiation, elevation, and geocoding. It requires no API key and works across mobile, web, desktop, and server-side Dart.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need weather data, forecasts, or historical climate data from Open-Meteo in a Dart or Flutter application.
- You want a typed client for geocoding, air quality, marine, or elevation data without managing raw HTTP requests.
Skip it when
- You require a commercial weather provider with localized physical radar maps or SLA guarantees.
- You are using a different weather API backend entirely.
Strengths
- Covers a comprehensive list of Open-Meteo APIs (forecast, historical, air quality, marine, flood, etc.).
- No API key required.
- Pure Dart package compatible with Flutter, CLI tools, and server-side Dart.
Weaknesses
- Tied specifically to the Open-Meteo service provider ecosystem.
- Ensemble and seasonal endpoints require specific accessor methods instead of standard typed fields.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 2
Add the dependency to pubspec.yaml; no special native configuration or API keys needed.
import 'package:weather_open_meteo_client/weather_open_meteo_client.dart';
final api = OpenMeteoApi();
final weather = await api.getWeatherByCityName('London');
print('${weather.current?.temperature2m}');
api.close();Alternatives
Packages that do the same job and could replace weather_open_meteo_client.
- google_api_headers
A Flutter plugin to fetch required headers for calling Google APIs with an app-restricted API key.
79Compare - unsplash_client
An Unsplash REST API client for Dart and Flutter.
80Compare - vmodal_sdk_flutter
Typed VModal API client for Flutter to upload videos and search moments by meaning.
67Compare - open_meteo
A fully typed Dart SDK to access the Open-Meteo weather, air quality, and climate APIs.
54Compare
Works with
Packages commonly used together with weather_open_meteo_client: ones it builds on, ones built on it, and its own family.