wunderground v0.0.6 Wunderground.Query
A collections of types for handling queries to the Weather Underground API.
Link to this section Summary
Types
Shortcode of an airport. See International Civil Aviation Organization airport code
City name as a String, where spaces should be replaced by a _
Country as a String
An IPv4 address as a tuple of 4 integers
Latitude as a float
Longitude as a float
An ID of a personal weather station as a string
US state shortform
The different possible Query tuples
US zipcode as an Integer
Functions
Builds a query string for the given Query
tuple
Link to this section Types
Shortcode of an airport. See International Civil Aviation Organization airport code.
Example
airport_code = "KJFK" # for the John F. Kennedy International Airport
ipv4_address() :: {non_neg_integer, non_neg_integer, non_neg_integer, non_neg_integer}
An IPv4 address as a tuple of 4 integers.
Example
ipv4_address = {10, 0, 0, 23} # for 10.0.0.23
The different possible Query tuples.
Link to this section Functions
Builds a query string for the given Query
tuple.
Isn’t really intended to be used directly. Use Wunderground.forecast/1
instead.