@decipherindustries/kinetic-config-parser

2.0.5 • Public • Published

MyinT SDK

A software development kit (SDK) for building client applications with the MyinT API. Abstracts away the unpleasantries of dealing with API connectivity.

Installation

For now, installation is done from Git. requires access to the Git repository.

$ npm install [--save] decipherindustries/myint-sdk

Usage

// Import the client
import Client from 'myint-sdk'

// Instantiate a sdk
const sdk = new Client('https://myint.decipher.digital')

// Do things with the REST API
const clues = await sdk.clues.list()
const solutions = await sdk.get('/api/v1/solution')
const createClueResult = await sdk.clues.create({ ... clue data ... })

// Listen to events
sdk.on('connected', () => {
  // connected to server
})

sdk.on('disconnected', () => {
  // disconnected from server
})

sdk.on('notification', () => {
  // server notification
})

Readme

Keywords

none

Package Sidebar

Install

npm i @decipherindustries/kinetic-config-parser

Weekly Downloads

1

Version

2.0.5

License

UNLICENSED

Unpacked Size

161 kB

Total Files

48

Last publish

Collaborators

  • fabdrol
  • decikettles