Description

Wrapper for the Webuntis API

Package Information

Version0.1.0 (2015-Sep-22)
Repository https://github.com/theSuess/webuntis
LicenseMIT
CopyrightCopyright © 2015, thesuess
Authorsthesuess
Registered byDominik Süß
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

webuntis

Build Status

Webuntis API-Wrapper for dlang

Usage

Add this package to your dub dependencies.

Example

import webuntis;
import std.stdio;

void main()
{
	SessionConfiguration sconf = SessionConfiguration(
		"username",
		"password",
		"server", // part before .webuntis.com Examples: melpomene or poly
		"school",
		"User Agent");
	Session s = new Session(sconf);
	s.login();
	auto classes = s.getClasses();
	foreach(class_;classes)
	{
		writeln(class_.name);
	}
}

Testing

To test this library on your system you need to set following environment variables

wuuser 		= webuntis user
wupassword 	= webuntis password
wuserver 	= webuntis server
wuschool 	= webuntis school

Available versions

0.1.0 0.0.1 ~master