@rasadov/lumoar-sdk
v2.1.6
Published
Lumoar API SDK for dashboard use (session-based authentication)
Maintainers
Readme
@rasadov/lumoar-sdk
Lumoar API SDK for dashboard use (session-based authentication)
Installation
npm install @rasadov/lumoar-sdkUsage
import { Configuration } from '@rasadov/lumoar-sdk';
import { YourApi } from '@rasadov/lumoar-sdk';
const config = new Configuration({
basePath: 'https://api.example.com',
// Session and authorization handled automatically via cookies
});
const api = new YourApi(config);OpenAPI Specification
This SDK is generated from the OpenAPI specification included in this package. You can find the OpenAPI spec at openapi.json in the package root.
If you want to generate an SDK in a different language, you can use the included OpenAPI specification with OpenAPI Generator.
# Example: Generate Python SDK
openapi-generator-cli generate -i node_modules/@rasadov/lumoar-sdk/openapi.json -g python -o ./python-sdkLicense
ISC
