rodeo.core

batch

(batch addresses & {:keys [api-key fields], :or {api-key (get-env-variable), fields []}})
Takes a seq of address strings 
and an option hash containing
zero or more of the following keys:

:api-key A string with your Geocodio api key. If this 
option is not set, the key will be read from the
GEOCODIO_API_KEY environment variable

:fields A seq of strings specifying which (if any) extra
fields are desired. The possible fields and their corresponding
parameter names are specified in the Geocodio documentation

Returns a Clojure map of results. The map
will have an :error key with a description if there
was an error

batch-reverse

(batch-reverse pairs & {:keys [api-key fields], :or {api-key (get-env-variable), fields []}})
Takes a seq of strings containing comma separated
latitude and longitude pairs and an option hash containing
zero or more of the following keys:

:api-key A string with your Geocodio api key. If this 
option is not set, the key will be read from the
GEOCODIO_API_KEY environment variable

:fields A seq of strings specifying which (if any) extra
fields are desired. The possible fields and their corresponding
parameter names are specified in the Geocodio documentation

Returns a Clojure map of address results. The map
will have an :error key with a description if there
was an error

components

(components address & {:keys [api-key], :or {api-key (get-env-variable)}})
Takes a single address string
and an option hash containing
zero or more of the following keys:

:api-key A string with your Geocodio api key. If this 
option is not set, the key will be read from the
GEOCODIO_API_KEY environment variable

Returns a Clojure map of results. The map
will have an :error key with a description if there
was an error

single

(single address & {:keys [api-key fields], :or {api-key (get-env-variable), fields []}})
Takes a single address string
and an option hash containing
zero or more of the following keys:

:api-key A string with your Geocodio api key. If this 
option is not set, the key will be read from the
GEOCODIO_API_KEY environment variable

:fields A seq of strings specifying which (if any) extra
fields are desired. The possible fields and their corresponding
parameter names are specified in the Geocodio documentation

Returns a Clojure map of results. The map
will have an :error key with a description if there
was an error

single-reverse

(single-reverse lat-long-pair & {:keys [api-key fields], :or {api-key (get-env-variable), fields []}})
Takes a single comma-separated 
latitude and longitude pair and an option hash containing
zero or more of the following keys:

:api-key A string with your Geocodio api key. If this 
option is not set, the key will be read from the
GEOCODIO_API_KEY environment variable

:fields A seq of strings specifying which (if any) extra
fields are desired. The possible fields and their corresponding
parameter names are specified in the Geocodio documentation

Returns a Clojure map of address results. The map
will have an :error key with a description if there
was an error