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 e7e446f103 Formatting 2020-12-29 14:29:15 +01:00
dist new lib version [CI SKIP] 2020-12-22 14:30:44 +00:00
.drone.yml Switched pipeline over to build only on tags and from main 2020-12-22 15:45:47 +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 Formatting 2020-12-29 14:29:15 +01:00
openapi.json new lib version [CI SKIP] 2020-12-22 14:30:44 +00:00
package.json Added type declaration reference to package.json 2020-12-23 16:52:43 +01:00
tsconfig.json Added declaration compiling 2020-12-13 19:48:02 +01:00

README.md

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

Install

Via yarn/npm:

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

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