@odit/lfk-client-js
v1.1.3
Published
A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.
Downloads
745
Readme
ODIT.Services - LfK-Client (JS Version)
The official library for the LfK backend server. Automagicly™ generated by openapi-typescript-codegen
🛠 Building
Get's automagicly™ build by drone for every new backend release.
Use
Basic example: Get all tracks
import {OpenAPI, TrackService} from "@odit/lfk-client-js";
OpenAPI.BASE = "https://localhost:4010";
console.log(await TrackService.trackControllerGetAll());
Install
Via yarn/npm:
yarn add @odit/lfk-client-js
# Or
npm i @odit/lfk-client-js
Or just copy the folder dist
to your prefered lib folder and import everything you need from dist/index.ts
.