项目作者: juancarlospaco

项目描述 :
Central Bank of Argentina Gov API Client with debtor corporations info
高级语言: Nim
项目地址: git://github.com/juancarlospaco/nim-bcra.git
创建时间: 2020-01-08T12:25:26Z
项目社区:https://github.com/juancarlospaco/nim-bcra

开源协议:

下载


BCRA

Use

  1. import bcra
  2. let cliente = Bcra()
  3. echo cliente.getBajasCheques(fecha = now()) # Bajas nuevas en el sistema
  4. echo cliente.getAltasPadron(fecha = now()) # Altas nuevas en el sistema
  5. 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:
  1. [
  2. (cuit: int, numeroDeCheque: int, fechaRechazado: DateTime, monto: int, causal: string, fechaLevantamiento: string, ley25326art16inc6: string, ley25326art38inc3: string, cuitJuridico: string, multa: string),
  3. ]

SSL

  • Compile with -d:ssl to use HTTPS and SSL. It works with and without SSL.

Install

  • nimble install bcra