1.1.6 • Published 3 years ago

zegami-sdk v1.1.6

Weekly downloads
3
License
UNLICENSED
Repository
github
Last release
3 years ago

zegami-js-sdk

An npm-installed node-based SDK for collection control, image downloading, file uploading, etc. using javascript.

Installation

Install this package in your node project using npm install --save zegami-sdk

Usage

Create a ZegamiClient instance using your username and password or a previously generated auth token. This will authenticate any requests made through it using a stored token.

const createClient = require('zegami-sdk');

const zClient = await createClient({
        username,
        password,
        token,
    });

Further actions are carried out through this client. For example - to obtain your user information, try:

const printUserInfo = async () => {
    let info = await zClient.userInfo;
    console.log(`userInfo:`, info);
}

Early Development

Please check back later for more features.

Development Tips

npm link

Clone this SDK and navigate to the directory, and enter npm link. Then, navigate to the application being worked on alongside the SDK and enter npm link zegami-sdk. Any changes made to the cloned repository will be instantly reflected in the application during development.

1.1.6

3 years ago

1.1.5

3 years ago

1.1.2

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago