Some scripts to automate stuff by interacting with the api
Go to file
Nicolai Ort c0a9916604
README typos
2023-04-25 21:00:13 +02:00
src reorganize 2023-04-25 20:49:16 +02:00
.env.example Added sample env 2023-04-25 20:55:50 +02:00
.gitignore Base Setup 2023-04-25 19:02:06 +02:00
LICENSE Added license 2023-04-25 20:57:35 +02:00 README typos 2023-04-25 21:00:13 +02:00
package.json Added extra info to package 2023-04-25 20:57:12 +02:00


Some fun little scripts to automate tasks regarding the LfK Läufersystem.

Setup 🛠️

pnpm i

Scripts 📜

All of the current scripts - explained



  • Description: Authenticates the user against the backend while setting the OPENAPI objects properties
  • Use-case: Used in all other scripts to reduce code duplication
  • Config: Set the env vars
  • Run: node ./src/shared/login.js


Create fixed scans for group

  • Description: Creates distance scans for all runners of a team or org
  • Use-case: Schools that get their walk to the event location added to their total distance
  • Config: Just set the org id or team id in the first lines of the script
  • Run: node ./src/scans/createFixedScansForGroup.js