aerocontext-awc 0.2.0

aviationweather.gov Data API adapter for aerocontext-core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! [`aerocontext_core::WeatherBriefingProvider`] adapter for the
//! aviationweather.gov Data API.
//!
//! The Data API is product-oriented: an area briefing fans out over the
//! per-product endpoints (`metar`, `taf`, `pirep`, `airsigmet`) under
//! `https://aviationweather.gov/api/data/` and normalizes the JSON
//! responses into [`aerocontext_core::Product`]s. No authentication is
//! required, but AWC asks clients to send a custom `User-Agent`.

mod client;
mod decode;

pub use client::{AwcClient, AwcConfig, ConfigError, DEFAULT_BASE_URL};