Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Archi-Lab/prox-hops-backup

Repository files navigation

Prox HoPS API

The purpose of this repo is to provide an emergency backup of the new HoPS API data and help to generate basic Java entities from the data.

Backup

./curl-hops.sh

Curls the REST endpoints of the new HoPS API, saves the responses as JSON files and formats them with Prettier.

Conversion

Open the generated JSON files, e. g. DOZENT.json, remove everything but a single set of JSON properties and save it as a text file. The result should look something like this:

DOZENTKUERZEL
FACHBEREICH
ANREDE
TITEL
VORNAME
NACHNAME
FUNKTION
ZEITSTEMPEL

Then save it as a text file and call the conversion script, e. g.:

./convert-to-java.sh < dozent.txt > dozent.txt2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages