stride-api

0.0.6 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i stride-api

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

5.76 kB

Total Files

5

Last publish

Collaborators

  • webfatorial