Versions in this module Expand all Collapse all v0 v0.3.0 Feb 28, 2021 Changes in this version + const OnlineCourseRoom + type Bool string + const False + const True + type Center struct + CenterID string + type Client struct + Center Center + func NewClient(url string, creds LoginCredentials) (*Client, error) + func (c *Client) Logout() error + func (c *Client) SwitchToCenter(id string) error + func (c Client) FetchAllContactAttributes(contactID string) ([]ContactAttribute, error) + func (c Client) FetchAllCourseSubjects() ([]CourseSubject, error) + func (c Client) FetchAllDebitors() ([]FullContact, error) + func (c Client) FetchAllEmployees() ([]FullContact, error) + func (c Client) FetchAllPupils() ([]FullContact, error) + func (c Client) FetchAllTeachers() ([]FullContact, error) + func (c Client) FetchCenters() ([]Center, error) + func (c Client) FetchCourses(date string) ([]Course, error) + func (c Client) FetchFullContact(id string) (*FullContact, error) + func (c Client) FetchMeetings(courseID string) ([]Meeting, error) + type Contact struct + ContactID string + DisplayName string + FirstName string + LastName string + type ContactAttribute struct + ContactAttributeID string + Key ContactAttributeKey + Value string + type ContactAttributeKey string + const ZoomPMI + type Course struct + CenterID string + CourseID string + CourseMembers []CourseMember + CourseMembersExcused int + CourseMembersTotal int + Draft Bool + Dropped Bool + EndsAt string + Room string + StartsAt string + SubjectShort string + SubtituteTeacherDisplayName string + SubtituteTeacherID string + TeacherAttendanceID string + TeacherDisplayName string + TeacherID string + type CourseMember struct + AttendanceType string + Draft Bool + External Bool + PupilID string + SubjectShort string + type CourseSubject struct + Short string + Subject string + type Email struct + Email string + type ErrorResponseData struct + Detail string + Status uint16 + Title string + Type string + type FullContact struct + Contact Contact + Emails map[string]Email + Phones map[string]Phone + type LoginCredentials struct + Email string + Password string + type Meeting struct + TeacherPMURL string + TeacherZoomPMI string + type Phone struct + Phone string