Liking cljdoc? Tell your friends :D

democracyworks.smartystreets.us-zipcode

SmartyStreets US Zip Code API

https://smartystreets.com/docs/cloud/us-zipcode-api
raw docstring

APIcljprotocol

fetch-manyclj

(fetch-many _ requests)

Retrieve a collection of US zipcode results from the API.

Retrieve a collection of US zipcode results from the API.

fetch-oneclj

(fetch-one _ request)

Retrieve a single US zipcode result from the API.

Retrieve a single US zipcode result from the API.
source

base-urlclj

source

http-fetch-manyclj

(http-fetch-many client requests)

Uses client to send a collection of US zipcode requests to the SmartyStreets API.

requests should be a sequence of HTTP input requests, described here:

https://smartystreets.com/docs/cloud/us-zipcode-api#http-request-input-fields

Returns a vector of response maps at indexes corresponding to their position in requests.

Uses `client` to send a collection of US zipcode `requests` to the
SmartyStreets API.

`requests` should be a sequence of HTTP input requests, described here:

https://smartystreets.com/docs/cloud/us-zipcode-api#http-request-input-fields

Returns a vector of response maps at indexes corresponding to their position
in `requests`.
sourceraw docstring

http-fetch-oneclj

(http-fetch-one client request)

Uses client to send a single zipcode request to the SmartyStreets API.

request should be an HTTP input request, described here:

https://smartystreets.com/docs/cloud/us-zipcode-api#http-request-input-fields

Returns the response map API endpoint.

Uses `client` to send a single zipcode `request` to the SmartyStreets API.

`request` should be an HTTP input request, described here:

https://smartystreets.com/docs/cloud/us-zipcode-api#http-request-input-fields

Returns the response map API endpoint.
sourceraw docstring

parse-responseclj

(parse-response s)

Transform a sequence s of maps containing :input_index into a vector with entries at offsets corresponding to :input_index. The original maps will have their :input_index key removed.

Transform a sequence `s` of maps containing `:input_index` into a vector with
entries at offsets corresponding to `:input_index`. The original maps will
have their `:input_index` key removed.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close