node-integra

1.5.0 • Public • Published

Node Integra

Node client para consumir a api do Integra

Instalar

yarn add git+ssh://git@gitlab.com:ongrace/node-integra

Como usar?

import client from 'axios'
import Integra from 'integra'

const sponsor = new Integra({client})
await sponsor.auth()
await sponsor.fromCode('NA633468')
console.log(sponsor.name)
  • É necessário exportar as variáveis de ambiente INTEGRA_USER e INTEGRA_PASSWORD

Readme

Keywords

Package Sidebar

Install

npm i node-integra

Weekly Downloads

2

Version

1.5.0

License

MIT

Unpacked Size

20.5 kB

Total Files

5

Last publish

Collaborators

  • theprogramer