Library.Google.Geocode (Portico/Z v0.1.0)

Schema for Google Geocode API results.

Schema Diagram

schema diagram | dot | pdf | png | svg

Link to this section Summary

Functions

Find address components by type.

Link to this section Functions

Link to this function

create(attrs \\ %{})

Create a Elixir.Library.Google.Geocode from a map of attrs

Link to this function

get_address_component(geocode, type)

Find address components by type.

Examples

iex> get_address_component(donalds_address, "postal_code")
%Library.Google.GeocodeAddressComponent{long_name: "01027", short_name: "01027", types: ["postal_code"]}