Socket
Book a DemoInstallSign in
Socket

@prisme.ai/sdk

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prisme.ai/sdk

Communicate with Prisme.ai API

latest
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

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';

FAQs

Package last updated on 02 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts