% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cepis-package.R \docType{package} \name{cepis-package} \alias{cepis} \alias{cepis-package} \title{cepis: client for the public CEP API at cep.is} \description{ Resolves Brazilian postal codes against \url{https://cep.is}. Official Correios data (DNE), refreshed every two weeks. \if{html}{\out{
}}\preformatted{address <- cep_lookup("01001-000") address$logradouro # "Praca da Se" address$localidade # "Sao Paulo" }\if{html}{\out{
}} The API surface is English, but the \strong{data fields keep the API's own Portuguese names} (\code{logradouro}, \code{bairro}, \code{localidade}, \code{uf}). What you read in the JSON at \url{https://cep.is/01001000} is what you read on the returned object, with no translation layer in between. Start at \code{\link[=cep_lookup]{cep_lookup()}} for one CEP, \code{\link[=cep_lookup_many]{cep_lookup_many()}} for many, \code{\link[=cep_health]{cep_health()}} for the API's status and \code{\link[=cepis_client]{cepis_client()}} for anything beyond the default configuration. Failures are classed conditions, described in \link{cepis_conditions}. } \seealso{ Useful links: \itemize{ \item \url{https://cep.is} } } \author{ \strong{Maintainer}: Murilo Ijanc \email{murilo@ijanc.org} } \keyword{internal}