Skip to content

kisi-inc/client-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status npm version

kisi-inc/client-js

A very simple JavaScript client for the Kisi API.

Installation

Run npm install kisi-client or add kisi-client to your package.json by running npm install --save kisi-client.

Usage

To login into organization account,

import Kisi from "kisi-client"

const kisiClient = new Kisi()

kisiClient
    .signIn({ domain: 'organization-domain', email:  'email', password: 'password' })
    .then(() => {
        kisiClient
            .get("places")
            .then(places => console.log(places))

        kisiClient
            .get("places/1")
            .then(place => console.log(place))

        kisiClient
            .post("locks/1/unlock")
            .then(result => console.log(result))
    })

Documentation

https://api.kisi.io/docs

Support

  • File issues on Github