1.0.4 • Published 2 years ago

scarletai.js v1.0.4

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

ScarletAI.JS

The official Node.JS wrapper to ScarletAI.API

Functions

createUser(user) ⇒ Promise.<object>

Send a POST Request to create a new user

Kind: global function

ParamType
userobject

getUser(id) ⇒ Promise.<any>

Get the user by ID

Kind: global function

ParamType
idstring

updateUser(id, user) ⇒ Promise.<object>

Send a PUT Request to update a user

Kind: global function

ParamType
idstring
userobject

deleteUser(id, password) ⇒ Promise.<any>

Send a DELETE Request to delete a user

Kind: global function

ParamType
idstring
passwordstring

getRefreshToken() ⇒ Promise.<any>

Send a request to retrieve a new token

Kind: global function

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago