MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / updateOpenCep

Function updateOpenCep

services/cep/cep.js:33–37  ·  view source on GitHub ↗
(cep)

Source from the content-addressed store, hash-verified

31}
32
33async function updateOpenCep(cep) {
34 await axios.get(`https://update.opencep.com/${cep}`, {
35 timeout: DEFAULT_TIMEOUT,
36 });
37}
38
39class CepPromiseError extends Error {
40 constructor({ message, type, errors } = {}) {

Callers 1

fetchCepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected