Crate weather_underground

Source

Structs§

Observation
Object that represents an observation
ObservationError
ObservationResponse
Object returned by the weather underground API
ObservationValue
Object that represents an observation with imperial or metric values
ParseUnitError

Enums§

Error
All the types of error for the library
Unit
Representation for the unit type that will be used in the response

Functions§

create_client
Create a reqwest client that will be used to make the requests
fetch_api_key
Fetch the wunderground homepage and parse an api token
fetch_observation
Fetch observations from the weatherunderground api