knuppe / openbankingbr Goto Github PK
View Code? Open in Web Editor NEWThis package is intended to extract public data from the Open Bank Brasil.
License: MIT License
This package is intended to extract public data from the Open Bank Brasil.
License: MIT License
Lógico que as financeiras do Brasil tem certificados válidos para SSL... #sqn
Considerando a execução deste exemplo:
from openbankingbr import OpenBankingBR
ob = OpenBankingBR(cacheDir='./cache')
for participante in ob.participantes:
print(f'Participante: {participante.nome}')
for produto in participante.produtos:
print(f'Produto: {produto.tipo} - {produto.nome}')
# Serviços disponíveis no produto
for servico in produto.servicos:
print(f' Serviço > {servico.nome}')
# Pacotes de serviço disponíveis no produto.
for pacote in produto.pacotes:
print(f' Pacote > {pacote.nome}')
O seguinte erro ocorre:
Traceback (most recent call last):
File "D:\Levius\IdeaProjects\open-finance\products-services.py", line 7, in
for produto in participante.produtos:
File "C:\Users\samue\AppData\Local\Programs\Python\Python39\lib\site-packages\openbankingbr\models.py", line 165, in produtos
for page in fetchUrlPages(endPoint, self.openBaking.cacheDir):
File "C:\Users\samue\AppData\Local\Programs\Python\Python39\lib\site-packages\openbankingbr\utils.py", line 155, in fetchUrlPages
root = fetchUrl(url, cacheDir = cacheDir)
File "C:\Users\samue\AppData\Local\Programs\Python\Python39\lib\site-packages\openbankingbr\utils.py", line 145, in fetchUrl
raise OpenBankingException("O conteúdo retornado pelo endpoint não possui um JSON válido.") from None
openbankingbr.errors.OpenBankingException: O conteúdo retornado pelo endpoint não possui um JSON válido.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.