1.0.4 • Published 11 months ago
@bsolus/kuantokusta-seller-api-node-sdk v1.0.4
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-sdkUsage
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.