View Source Tw.V1_1.TrendLocation (Tw v0.1.1)

Struct for result of GET /trends/available.json or GET /trends/closes.json.

See the Twitter API documentation for details.

Link to this section Summary

Functions

Decode JSON-decoded map into t/0

Link to this section Types

Specs

t() :: %Tw.V1_1.TrendLocation{
  country: binary(),
  country_code: binary(),
  name: binary(),
  parentid: integer(),
  place_type: %{code: non_neg_integer(), name: binary()},
  url: binary(),
  woeid: integer()
}

Link to this section Functions

Specs

decode!(map()) :: t()

Decode JSON-decoded map into t/0