1.0.12 • Published 1 year ago

studip-api v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

About

A library to calculate the critical path in an given precedence-diagram.

Demo

https://fireboltcasters.github.io/studip-api/

Installtion

npm install studip-api

About

This package should help to communicate with a specific Stud.IP instance by using its REST-API. Please not the disclaimer on the bottom. Please note, that oAuth is a better form for authentification but due to restrictions to obtain the specific secrets this is some sort of workaround.

A full documentation of the official Stud.IP instance can be found here: http://docs.studip.de/develop/Entwickler/RESTAPI

Installation

npm i studip-api

Usage example

import {Client} from 'studip-api';

async function userLogin() {
  const domain = 'https://<yourStudIP_Domain>.de';
  const username = '<username>';
  const password = '<password>';

  try {
    const client = await Connector.getClient(domain, username, password);

    // to get user informations
    const user = client.getUser();

    // to get the current schedule
    const schedule = await client.loadSchedule();
  } catch (err) {
    console.log('incorrect password or other error');
  }
}

Disclaimer

This project is not officialy associated in any form with the Stud.IP product and does not claims to be part of the development.

Contributors

The FireboltCasters

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago