New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

untis-node

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

untis-node

A package for communicating with the Webuntis API

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

untis-node

npm version

Installation

npm install --save untis-node

Features

It is a wrapper for the untis API with many interfaces und a lot of methods to get information from the API

  • Login to the Untis servers
  • fetch Data with multiple methods
  • fetch all Data when successfully logging in
  • Uses Promises

Documentation

The Documentation is here

Example

First you have to get your school id and your server. You can find your school id and your server by going to webuntis.com and then searching for your school. After being redirected to your school web page you can see your school id and your server by looking at the link: Example link: https://mese.webuntis.com/WebUntis/?school=htbla_kaindorf#/basic/main the server is the word before ".webuntis.com", so in this example: mese the school is the word after "?school=", so in this example: htbla_kaindorf

[Example GIF][example.gif]

Javascript:

const untis = require("untis-node");
untis.login({
	username: "a username here",
	password: "a password here",
	school: "your school",
	server: "your server"
}).then(data => {
	//do your stuff here
});

Typescript:

import {login, Config} from "untis-node";

const config: Config = {
	username: "a username here",
	password: "a password here",
	school: "your school",
	server: "your server"
};

login(config).then(data => {
	// do your stuff
})

Todos

  • Program everything
  • Documentation
  • detailed docs
  • Add to NPM

Keywords

FAQs

Package last updated on 18 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc