Open guibranco opened 1 year ago
Hello @guibranco, you have reached your request limit of 5, your cycle will refresh on 2024-08-21 10:07:38. Consider subscribing if you want more requests. If you have any questions or concerns, please contact us at info@gitauto.ai.
only need convert to json
Oh thanks, @MauriciDmarc but the idea is to have this inside the application, running on the daily basis, so it will be always updated, and also, in JSON/CSV/XML/etc formats like the bank's data. But again, thanks for the effort!
Is your feature request related to a problem? Please describe. Grab taxes and levies from the BCB page for all banks
Describe the solution you'd like BCB publishes the taxes/levies for each bank based on ISPB at this page:
The
00000000
is the ISPB Thea
after the ISPB in the corporate URL is how it identifies a corporate instead of a personal.Call this page for each bank with ISPB and extract the information to a JSON file separated of banks files.
Add data from SFA - Open Finance
Documenation of the file format.
Contributing
Here is a step-by-step on how to add a new source of data to the merge tool:
Constants.cs
file.Source.cs
file. Please use the source system acronyms whenever possible.Reader.cs
called Load[NewSystemAcronym]. This should do all the heavy job of grabbing the information from the remote source.Patterns.cs
file if you need to use RegExp to extract data.Bank.cs
file.Seeder.cs
file, implement the method Merge[NewSystemAcronym] to merge the new data with the existing ones. I prefer to filter the data by ISPB and then Document to check for existing data. Rely on the existing list, DO NOT ADD new bank to the list if it is not present with COMPE, ISPB, Document, and Name at least. These are mandatory fields, if you have all this information, and you did not find the bank on the existing list, feel free to add it to the list. (Let me know this in the PR comment).AcquireData
method inside theProgram.cs
file.Writer.cs
file, edit the following methods, mapping the new field(s):SaveCsv
SaveMarkdown
SaveSql
Testing