wunderground v0.0.2 Wunderground.Query
A collections of types for handling queries to the Weather Underground API.
Link to this section Summary
Types
Shortcode of an airport
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
Link to this section Types
Shortcode of an airport.
Example
airport_code = "KJFK" # for the John F. Kennedy International Airport
Link to this type
ipv4_address()
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.