Problem Description
There is any Moodle REST API available to get all the course name list and all the users enrolled for that particular courses.
Someone suggest the answer using SQl query. But I need any Moodle API available for that.
API is available for get all the users enrolled for single course by passing courseId in core_enrolled_get_enrolled_users . But I have to display all the courses and number of users enrolled for that course in charts . Please find below the sample charts :
[![enter image description here][1]][1]
[1]: https://i.sstatic.net/ljx23.png
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?