@prisme.ai/sdk

1.0.1 • Public • Published

Prisme.ai SDk

Description

This javascript library helps to communicate with Prisme.ai API. It provides methods to reach every endpoints and structure data responses.

Usage

import api from '@prisme.ai/sdk';

will give you a singleton preset to hit the prisme.ai cloud service.

You can set a different host by instantiating the Api class:

import { Api } from '@prisme.ai/sdk';
const api = new Api({
  host: 'https://my.custom.host'
})

You are able to call un authentified methods like signin or signup, but you'll need a valid token to call the other. Just set its property:

api.token = 'the token';

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    1
  • 0.0.2
    0

Package Sidebar

Install

npm i @prisme.ai/sdk

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

155 kB

Total Files

48

Last publish

Collaborators

  • youssef.zamani
  • hadrien.eu
  • aamarcha
  • brokray
  • dulis31
  • florian-prisme-ai