0.0.0 • Published 5 years ago

finsyn-client v0.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Finsyn NodeJS Client

Just a little helper client to authenticate and make requests to endpoints of the Finsyn API.

Usage

npm install --save finsyn-client
const { finsynApi } = require('finsyn-client')

const getActivities = finsynApi('v1/activity')

getActivities({
  params: {
    filter: {
      isin: 'SE1212121212'
    }
  },
  apiOrigin: 'https://api.finsyn.se',
  username: 'exampleUser',
  password: 'examplePassword'
})
.then(console.log)