diff --git a/rigestryWin.py b/rigestryWin.py new file mode 100644 index 0000000..7815c2c --- /dev/null +++ b/rigestryWin.py @@ -0,0 +1,10 @@ +from api.eventRigestry import EventRegistry +from config import CONFIG + +rigestry=EventRegistry(CONFIG['moodle']['username'], CONFIG['moodle']['password']) + +if rigestry.status: + for a in rigestry.getEventsList(): + print(a) +else: + print("NO")