@odit/lfk-client-node

A lib to interact with https://git.odit.services/lfk/backend. Use this version for NodeJS applications.

Usage no npm install needed!

<script type="module">
  import oditLfkClientNode from 'https://cdn.skypack.dev/@odit/lfk-client-node';
</script>

README

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.