https://github.com/juancarlospaco/nim-bcra
Central Bank of Argentina Gov API Client with debtor corporations info
https://github.com/juancarlospaco/nim-bcra
argentina bank banking debt debtors nim nim-lang
Last synced: over 1 year ago
JSON representation
Central Bank of Argentina Gov API Client with debtor corporations info
- Host: GitHub
- URL: https://github.com/juancarlospaco/nim-bcra
- Owner: juancarlospaco
- Created: 2020-01-08T12:25:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T12:52:53.000Z (over 6 years ago)
- Last Synced: 2025-01-26T14:48:41.108Z (over 1 year ago)
- Topics: argentina, bank, banking, debt, debtors, nim, nim-lang
- Language: Nim
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BCRA
- [Central Bank of Argentina Gov](https://bcra.gob.ar) API Client with debtor corporations info.
# Use
```nim
import bcra
let cliente = Bcra()
echo cliente.getBajasCheques(fecha = now()) # Bajas nuevas en el sistema
echo cliente.getAltasPadron(fecha = now()) # Altas nuevas en el sistema
echo cliente.getDeudores(fecha = now()) # Deudores
```
**Arguments**
- All functions require `fecha` of `DateTime` type, eg `fecha = now() - 2.days`.
- It is not documented when the data for current day becomes available, if you get errors use `fecha = now() - 1.days` for yesterdays data.
**Return**
- Return data type is a list of tuples:
```nim
[
(cuit: int, numeroDeCheque: int, fechaRechazado: DateTime, monto: int, causal: string, fechaLevantamiento: string, ley25326art16inc6: string, ley25326art38inc3: string, cuitJuridico: string, multa: string),
]
```
# SSL
- Compile with `-d:ssl` to use HTTPS and SSL. It works with and without SSL.
# Install
- `nimble install bcra`