A TypeScript SDK for interacting with the Kusion Server API.
Using npm:
npm install @kusionstack/kusion-api-client-sdk
Using yarn:
yarn add @kusionstack/kusion-api-client-sdk
import { client, SourceService } from '@kusionstack/kusion-api-client-sdk';
// Configure the client
client.setConfig({
baseUrl: 'http://localhost:80'
});
// Use the SDK
async function example() {
try {
const sources = await SourceService.listSource();
console.log('Sources:', sources.data);
} catch (error) {
console.error('Error:', error);
}
}
Visit our API documentation For examples, please refer to:
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the Apache License 2.0.
If you encounter any issues or have questions: