Skip to content
pubscout

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.

WASM-ready
$ flutter pub add weather_open_meteo_client
Source repository

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.

Works with

Packages commonly used together with weather_open_meteo_client: ones it builds on, ones built on it, and its own family.