1.2.1 • Published 6 months ago

senfi v1.2.1

Weekly downloads
2
License
ISC
Repository
github
Last release
6 months ago

Senfi Node.js Library

The Senfi Node library provides convenient access to the Senfi API from applications in server-side Javascript

Documentation

See the Senfi API docs

Installation

npm install senfi

Usage

The package needs to be initialized with a Senfi API key and secret, which can be created in the Senfi CMS. Initialize using the key values:

const Senfi = require('senfi');
let senfi = new Senfi();
senfi.initialize('api-key','api-key-secret')
  .then(() => console.log('initialized'))
  .catch(error => console.error('Initialization failed:', error.errmsg));

Example usage:

senfi.subscription.get()
  .then(response => console.log(response))
  .catch(error => console.error(error));
1.2.1

6 months ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago