| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
import webuntis
s = webuntis.Session(
username='api',
password='api',
server='webuntis.grupet.at:8080',
school='demo_inf'
).login()
for klasse in s.klassen():
print(klasse.name)
pip install webuntis
git clone git://github.com/untitaker/python-webuntis.git cd python-webuntis python setup.py install
If you want to remove the -dev flag in the version for whatever reason, replace the last line with:
python setup.py release install
The unittests need mock and nose installed.
You can run the default testsuites using:
$ nosetests
For the single testsuites and their descriptions, look at the docstrings of the modules in webuntis.tests.
| Back | FazBrowse Home | New Git URL |