Skip to content

PostmonAPI/posture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posture

Dependency Status

A Clojure library designed to wrap the Postmon service to find addresses by ZIP code

Releases and Dependency Information

Latest stable release is 0.1.3

[Leiningen] dependency information:

[posture "0.1.3"]

You can find the Posture artifacts at Clojars

Usage

Examples:

(require '[posture.zip :as zip])

To find an address:

(zip/find-address "01001-001")
;; => {:result :ok, :complemento "lado par", :bairro "Sé", :cidade "São Paulo",
;;     :logradouro "Praça da Sé", :estado_info {:area_km2 "248.222,801",
;;     :codigo_ibge "35", :nome "São Paulo"}, :cep "01001001", :cidade_info
;;     {:area_km2 "1521,101", :codigo_ibge "3550308"}, :estado "SP"}

License

Copyright © 2014 Plínio Balduino, The Postmon team

Distributed under the MIT License.

About

Clojure wrapper for Postmon API

Resources

License

Stars

Watchers

Forks

Packages

No packages published