The NodeJS version of the official LfK library.
This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Nicolai Ort 55cdf79f9c
continuous-integration/drone/push Build is passing Details
Added declaration compiling
2020-12-13 19:48:02 +01:00
dist new lib version [CI SKIP] 2020-12-13 18:26:22 +00:00
.drone.yml Changed the commit user 2020-12-13 19:29:10 +01:00
.gitignore Updated ignores 2020-12-13 19:05:37 +01:00
.npmignore Updated ignores 2020-12-13 19:05:37 +01:00
LICENSE Initial commit 2020-12-12 21:24:45 +00:00
README.md Added readme 2020-12-13 09:40:46 +01:00
openapi.json new lib version [CI SKIP] 2020-12-13 12:05:55 +00:00
package.json Fix w/ version bump 2020-12-13 19:44:52 +01:00
tsconfig.json Added declaration compiling 2020-12-13 19:48:02 +01:00

README.md

ODIT.Services - LfK-Client

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";
OpenAPI.BASE = "https://localhost:4010";
console.log(await TrackService.trackControllerGetAll());

Install

Via yarn/npm:

yarn add @odit/lfk-client
# Or
npm i @odit/lfk-client

Or just copy the folder dist to your prefered lib folder and import everything you need from dist/index.ts.