Function fetch_course_list

  • Fetches a list of enrolled courses by timeline.

    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.

    Returns Promise<Course[]>

    An array of Course objects.

Generated using TypeDoc