# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getExercises())
# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getSchedule())
# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getMessage("12345678"))
# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getMessages())
# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getStudyProgramme())
# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getGrades())
# Getting into the main folder. import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from tests.details import lectioUsername, lectioPassword, schoolId from src.lectio import Lectio lec = Lectio(lectioUsername, lectioPassword, schoolId) print(lec.getDashboard())