Esempio n. 1
0
# 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())
Esempio n. 2
0
# 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())
Esempio n. 3
0
# 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"))
Esempio n. 4
0
# 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())
Esempio n. 5
0
# 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())
Esempio n. 6
0
# 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())
Esempio n. 7
0
# 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())