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

Function getUfs

services/ibge/gov.js:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41});
42
43export const getUfs = () =>
44 axios.get(URL_UF).then((response) => {
45 response.data = response.data.map(addCapital);
46 return response;
47 });
48
49export const getUfByCode = (code) =>
50 axios.get(`${URL_UF}/${code}`).then((response) => {

Callers 1

actionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected