dolarargentina

1.0.5 • Public • Published

Dolar Argentina

Values of Dolar in Argentinian Pesos, scraped from original websites banks.

Usage

const dolar = require("../lib/index");
console.log(await dol.getDolarHoy("galicia"));

Running Web Server

npm install
npm start
Aplicación dolar en Argentina corriendo en - http://localhost:8080

Bank Aliases.

banco alias
Banco Galicia "galicia"
Banco Nación' "bna"
Banco Patagonia "patagonia"
Montemar' "montemar"
Santander Rio' "santanderrio"
Banco Provincia "provincia"

Test

Test unitaries are using mocha, you need installed mocha in your system. The test includen check of all sources of information from others webs. the test are in the folder ./tests/test.js

npm i mocha -g
npm test

License

MIT

TODO

  • Agregar más bancos.
  • Agregar información banco central.
  • Controlar mejor los errores.

Package Sidebar

Install

npm i dolarargentina

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

10.3 kB

Total Files

9

Last publish

Collaborators

  • brakdag