1.6.0 • Published 3 years ago

@storinka/client v1.6.0

Weekly downloads
83
License
MIT
Repository
github
Last release
3 years ago

Storinka JavaScript Client

Documentation: api.storinka.menu/docs

Installation

NPM:

npm install @storinka/client

Yarn:

yarn add @storinka/client

Example

import StorinkaClient, { ApiError } from "@storinka/client";

const storinka = new StorinkaClient({
    clientId: "your-client-id-here",
});

storinka.invoke("getFullCafe", {
    id: "kava-gallery",
}).then(cafe => {
    console.log(cafe);
}).catch(error => {
    if (error instanceof ApiError) {
        console.log("request failed", error);
    } else {
        console.log("network error");
    }
});
1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago