wunderground v0.0.9 Wunderground.Autocomplete

Handles API requests for autocompletion.

Link to this section Summary

Functions

Gets suggestions for autocompletion based on the given query

Link to this section Types

Link to this type option()
option ::
  :without_cities |
  :with_hurricanes |
  {:country, String.t}
Link to this type options()
options() :: [option]
Link to this type t()
t() :: %Wunderground.Autocomplete{cities: [Wunderground.Autocomplete.City.t], hurricanes: [Wunderground.Autocomplete.Hurricane.t]}

Link to this section Functions

Link to this function get(query, options)
get(String.t, options) ::
  {:ok, Wunderground.Autocomplete.t} |
  {:error, Wunderground.Autocomplete.API.error}

Gets suggestions for autocompletion based on the given query.

Isn’t really intended to be used directly. Use Wunderground.autocomplete/2 instead.