The JS version of the official LfK library.
Go to file
Nicolai Ort ffd92702bb
ci/woodpecker/manual/release Pipeline was successful Details
Merge branch 'main' of git.odit.services:lfk/lfk-client-js
2023-11-06 20:18:48 +01:00
.woodpecker feat(ci)!: Switch to woodpecker 2023-11-06 20:18:40 +01:00
dist 🚀New lib version v1.1.3 [CI SKIP] 2023-05-10 11:39:57 +00:00
.gitignore Initial commit for the js version 2020-12-22 15:17:25 +01:00
.npmignore Initial commit for the js version 2020-12-22 15:17:25 +01:00
LICENSE Initial commit for the js version 2020-12-22 15:17:25 +01:00
README.md Added build status to readme 2020-12-22 15:50:15 +01:00
openapi.json 🚀New lib version v1.1.3 [CI SKIP] 2023-05-10 11:39:57 +00:00
package.json 🚀New lib version v1.1.3 [CI SKIP] 2023-05-10 11:39:57 +00:00
tsconfig.json Initial commit for the js version 2020-12-22 15:17:25 +01:00

README.md

ODIT.Services - LfK-Client (JS Version)

Build Status

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.