Skip to content
The official Kisi REST API client for JavaScript.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.babelrc
.eslintrc.json
.gitignore
.npmignore
.nvmrc
.travis.yml
LICENSE
README.md
package.json
yarn.lock

README.md

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

import Kisi from "kisi-client"

const kisiClient = new Kisi()

kisiClient
    .signIn("email", "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

http://docs.kisiapi.apiary.io

Support

You can’t perform that action at this time.