LibLatLon.Providers.OpenStreetMap.lookup

You're seeing just the function lookup, go back to LibLatLon.Providers.OpenStreetMap module for more information.
Link to this function

lookup(input, opts \\ %{"accept-language": "en"})

View Source

Specs

lookup(LibLatLon.Coords.t() | String.t(), %{}) ::
  {:ok, LibLatLon.Info.t()} | {:error, any()}

Implements a lookup for OpenStreetMap provider. Returns either {:ok, %LibLatLon.Info{}} or {:error, reason} tuple.

Used internally by LibLatLon.lookup/1.