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

Function getBanksData

services/banco-central/index.js:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29};
30
31export const getBanksData = async () => {
32 try {
33 const response = await getCsvAsJson(
34 'https://www.bcb.gov.br/content/estabilidadefinanceira/str1/ParticipantesSTR.csv'
35 );
36 return formatCsvFile(response);
37 } catch (err) {
38 return banksList;
39 }
40};

Callers 2

actionFunction · 0.90
actionFunction · 0.90

Calls 2

getCsvAsJsonFunction · 0.85
formatCsvFileFunction · 0.70

Tested by

no test coverage detected