Last active
September 22, 2017 07:42
-
-
Save mklkj/f3ada13cbc89ea66051424afa58037db to your computer and use it in GitHub Desktop.
io.github.wulkanowy.api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import io.github.wulkanowy.api.Vulcan; | |
| Vulcan vulcan = new Vulcan(); | |
| /** | |
| * io.github.wulkanowy.api.login | |
| */ | |
| vulcan.login("email", "password", "symbol", "id" /*optional*/); | |
| // StudentAndParent.class | |
| List<Semester> semesterList = vulcan.getStudentAndParent().getSemesters(); | |
| Semester currentSemester = vulcan.getStudentAndParent().getCurrentSemester(semesterList); | |
| /** | |
| * io.github.wulkanowy.api.attendance | |
| */ | |
| AttendanceStatistics attendanceStatistics = vulcan.getAttendanceStatistics(); | |
| AttendanceTable attendanceTable = vulcan.getAttendanceTable(); | |
| /** | |
| * io.github.wulkanowy.api.grades | |
| */ | |
| GradesList gradesList = vulcan.getGradesList(); | |
| List<Grade> gradeList = gradesList.getAll("semesterId" /*optional*/); | |
| SubjectsList subjectsList = vulcan.getSubjectsList(); | |
| List<Subject> subjectList = subjectsList.getAll("semesterId" /*optional*/); | |
| /** | |
| * io.github.wulkanowy.api.notes | |
| */ | |
| AchievementsList achievementsList = vulcan.getAchievementsList(); | |
| NotesList notesList = vulcan.getNotesList(); | |
| /** | |
| * io.github.wulkanowy.api.school | |
| */ | |
| SchoolInfo schoolInfo = vulcan.getSchoolInfo(); | |
| TeachersInfo teachersInfo = vulcan.getTeachersInfo(); | |
| /** | |
| * io.github.wulkanowy.api.timetable | |
| */ | |
| Timetable timetable = vulcan.getTimetable(); | |
| Week timetableWeek = timetable.getWeekTable("tick" /*optional*/); | |
| List<Day> dayList = timetableWeek.getDays(); | |
| Day day = timetableWeek.getDay(0); // Monday | |
| List<Lesson> lessonList = day.getLessons(); | |
| Lesson lesson = lessonsList.getLesson(1); | |
| System.out.println(lesson.getSubject()); // Matematyka | |
| /** | |
| * io.github.wulkanowy.api.user | |
| */ | |
| BasicInformation basicInformation = vulcan.getBasicInformation(); | |
| PersonalData personalData = basicInformation.getPersonalData(); | |
| AddressData addressData = basicInformation.getAddressData(); | |
| ContactDetails contactDetails = basicInformation.getContactDetails(); | |
| FamilyInformation familyInformation = vulcan.getFamilyInformation(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment