0.0.6 • Published 6 years ago

stride-api v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Stride API

A npm package to consume the Atlassian Stride API

NPM version Dependency Status with w! works

Installation

npm i -S stride-api

Usage

const strideApi = require( 'stride-api' ),
      { Document, marks } = require( 'adf-builder' )

const clientId = '', // Client ID from Stride Custom App
      clientSecret = '', // Client Secret from Stride Custom App
      cloudId = '',  // Cloud ID
      roomtId = '', // Conversation ID
      document = new Document() // Atlassian Document Format object

const stride = new strideApi( clientId, clientSecret )
stride.sendConversationMessage( cloudId, roomId, document )
  .catch( error => {} )
  .then( result => {} )

Dependencies

License

MIT

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1-readme

6 years ago

0.0.1

6 years ago