Skip to content

thewarpaint/hal-9000

Repository files navigation

HAL-9000

An automation for the rest of us.

What?

A collection of "automations" to retrieve information from services without a public API. Think of a poor man's open source Belvo.

Why?

A bunch of services we use could really benefit from having a public API. The easiest way to do that is through UI automation.

How?

  1. Install the dependencies:

    yarn install
  2. Create your .env file, you can use .env.example as guidance.

  3. Export your environment variables:

    export $(cat .env | xargs)
  4. Now you're able to run the service automations:

node allianz-example.js
Allianz summary: {
  policyAmount: '123456.78',
}
node bbva-example.js
BBVA summary: [
  { title: 'Cuenta de nómina • 01234', amount: '234567.89' },
  { title: 'Fondos de Inversión • 98765', amount: '98765.43' },
  { title: 'Pagaré • 54321', amount: '$5432.10' }
]
node cetesdirecto-example.js
CetesDirecto summary: {
  instruments: [
    { name: 'BONDDIA', value: '123.45' },
    { name: 'CETES', value: '9876.54' },
    { name: 'REMANENTES', value: '34.56' }
  ],
  instrumentsTotal: '12345.98'
}
node infonavit-example.js
Infonavit summary: {
  savings: [
    { type: 'Subcuenta de Vivienda 1997', amount: '1234567.98' },
    { type: 'Subcuenta de Vivienda SAR 1992', amount: '0.00' },
    { type: 'Fondo de ahorro 1972', amount: '0.00' }
  ]
}
node n26-example.js
N26 summary: { balance: '9876.54' }

About

An automation for the rest of us.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published