webuntis 0.1.0
Wrapper for the Webuntis API
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
webuntis
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
- Registered by Dominik Süß
- 0.1.0 released 9 years ago
- theSuess/webuntis
- MIT
- Copyright © 2015, thesuess
- Authors:
- Dependencies:
- none
- Versions:
-
0.1.0 2015-Sep-22 0.0.1 2015-Sep-21 ~master 2015-Sep-25 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
94 downloads total
-
- Score:
- 0.5
- Short URL:
- webuntis.dub.pm