1.6.0 • Published 4 years ago

@storinka/client v1.6.0

Weekly downloads
83
License
MIT
Repository
github
Last release
4 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

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago