1.0.5 • Published 2 years ago

ourvoice-node-sdk-test v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Ourvoice NodeJS Package

The Ourvoice Node library provides convenient access to the Ourvoice API from applications written in server-side JavaScript.

Documentation

See the API docs.

Installation

Install the package with:

npm install ourvoice-node-sdk-test --save

Usage

The package needs to be configured with your account's secret key which is available in your OurVoice Dashboard. Require it with the key's value:

// TypeScript
import { OurVoice } from 'ourvoice-node-sdk-test';

const client = new OurVoice({
   apiKey: "YOUR API KEY TOKEN"
})

// get all groups

client.groups.getGroups().then((groups) => {
    
   console.log(groups);
})
// JavaScript

const sdk = require('ourvoice-node-sdk-test')

const client = new sdk.OurVoice({
   apiKey: "YOUR API KEY TOKEN"
})

// get all groups

client.groups.getGroups().then((groups) => {
    
   console.log(groups);
})
1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago