1.0.4 • Published 11 months ago

@bsolus/kuantokusta-seller-api-node-sdk v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

kuantokusta-seller-api-node-sdk

Node.js SDK for the KuantoKusta Seller API. For more details, refer to the official API documentation.

Table of Contents

Installation

Install the package using npm:

npm install @bsolus/kuantokusta-seller-api-node-sdk

Usage

import createSDK from '@bsolus/kuantokusta-seller-api-node-sdk';

const sdk = createSDK;

// Configure SDK
sdk.config({
  timeout: 60000, // 60 seconds
});

// Authenticate
sdk.auth('your-api-key');

// Example: Fetch all orders
sdk.orderController_findAll().then(response => {
  console.log(response);
}).catch(error => {
  console.error(error);
});

Authentication

To authenticate, use the auth method with your API key:

sdk.auth('your-api-key');

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

1.0.4

11 months ago

1.0.3

11 months ago