Function fetch_course_attendees

  • Fetches the attendees of a course with the given ID from the specified base URL.

    Parameters

    • fetch: ((input, init?) => Promise<Response>)

      The fetch function to use for making HTTP requests.

        • (input, init?): Promise<Response>
        • Parameters

          • input: RequestInfo | URL
          • Optional init: RequestInit

          Returns Promise<Response>

    • base: string

      The base URL of the Moodle site.

    • id: number

      The ID of the course to fetch attendees for.

    Returns Promise<Attendee[]>

    An array of Attendee objects.

Generated using TypeDoc