Options
All
  • Public
  • Public/Protected
  • All
Menu

The main entry of this SDK.

We generated this with the powerful TypeDoc!

Index

References

Auth

Renames and re-exports auth

RequestClient

Renames and re-exports request/client

Types

Renames and re-exports types

Utilities

Renames and re-exports utilities

Functions

Checkin

CheckinList

  • CheckinList(courseId: number, auth: default): Promise<any[]>

CloseCourse

  • CloseCourse(courseId: number, auth: default): Promise<boolean>

CreateCourse

  • CreateCourse(classroomId: string, request: { expire_time: string; late_time: string; start_timestamp: Date }, auth: default): Promise<CourseResponse>
  • Create a course.

    example
    CreateCourse("12345", {
    start_timestamp: new Date(),
    late_time: "00:10:00",
    expire_time: "00:50:00",
    });

    Parameters

    • classroomId: string
    • request: { expire_time: string; late_time: string; start_timestamp: Date }
      • expire_time: string
      • late_time: string
      • start_timestamp: Date
    • auth: default

    Returns Promise<CourseResponse>

GetClassroomsList

  • GetClassroomsList(auth: default): Promise<any[]>

GetClientId

GetCourseByID

GetCourseByUUID

GetCoursesList

  • GetCoursesList(auth: default): Promise<any[]>

GetShareLink

ShareToClassroom

SyncCourseMembers

  • SyncCourseMembers(courseId: number, auth: default): Promise<boolean>

Generated using TypeDoc