/moodle-course-api

The Moodle-Course-API provides a read-only interface to easily query whether a user has completed a course or a quiz.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Moodle Course API

The Moodle-Course-API provides a read-only interface to easily query whether a user has completed a course, or a quiz. This can be used in other applications (such as the Training-Center) to determine a member's progress within a specific course.

API Interface

Method Path Parameters Response
GET /course_completed {course_id: number, user_id: number} {course_name: string, completed: bool, completed_at: Date}
GET /quiz_completed {module_id: number, user_id: number} Result of the SELECT statement