wunderground v0.0.6 Wunderground.API.Response
Ensures correct JSON encoding.
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %Wunderground.API.Response{error: Wunderground.API.Error.t, features: map, termsofService: String.t, version: String.t}
The Wunderground.API.Response struct.
Example
%Wunderground.API.Response{
"features" => %{"forecast" => 1},
"termsofService" => "http://www.wunderground.com/weather/api/d/terms.html",
"version" => "0.1",
"error" => %Wunderground.API.Error{
"description" => "No cities match your search query",
"type" => "querynotfound"
}
}