0.5.1 • Published 8 months ago

@seneca/nordigen-provider v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Seneca Nordigen-Provider

Seneca Nordigen-Provider is a plugin for Seneca

Provides access to the Nordigen API using the Seneca provider convention. Nordigen API entities are represented as Seneca entities so that they can be accessed using the Seneca entity API and messages.

npm version build Coverage Status Known Vulnerabilities DeepScan grade Maintainability

VoxgigThis open source module is sponsored and supported by Voxgig.

Quick Example

// Setup - get the key value (<SECRET>) separately from a vault or
// environment variable.
Seneca()
  .use('promisify')
  .use('entity')
  .use('provider', {
    provider: {
      nordigen: {
        keys: {
          secretId: { value: '<API-ID>' },
          secretKey: { value: '<API-KEY>' },
        }
      }
    }
  })
  .use('nordigen-provider')

let list = await seneca.entity('provider/nordigen/institution')
  .list$({country: 'IE'})

Console.log('IE institutions', list)

Install

$ npm install @seneca/nordigen-provider

Options

None.

Action Patterns

Action Descriptions

« "role":"entity","base":"nordigen","cmd":"list","name":"institution","zone":"provider" »

No description provided.


« "sys":"provider","get":"info","provider":"nordigen" »

Get information about the provider.


Testing

Note that since full tests can only bve run locally with valid API keys, coverage is not generate by Github Actions, and the local coverage is checked into git.

TODO: fix @seneca/doc

0.5.1

8 months ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago