ex_geo v1.1.1 ExGeo.Result View Source

Geolocation query result structure

Link to this section Summary

Functions

Accepts a raw query result and returns a new ExGeo.Result.t

Link to this section Types

Link to this type t() View Source
t() :: %ExGeo.Result{
  city: term(),
  continent: term(),
  country: term(),
  location: term(),
  postal: term(),
  region: term()
}

Link to this section Functions

Link to this function parse(result) View Source
parse(map()) :: t()

Accepts a raw query result and returns a new ExGeo.Result.t