moodlepy
moodlepy copied to clipboard
Python wrapper for moodle web service.
No default value are provided for many optional parameters. Those have been set to None.
Hi! Can you please give me a example of what kind of dict/array structure i need to give for this function. I've been stuck for hours now since i can't...
Trying to get an existing user by id. ```python user_service = BaseUser(...) user = user_service.get_users({id: submission['userid']}) ``` This fails with: `moodle.exception.MoodleException: Ungültiger Parameterwert` How should the parameters be formatted for...
Hey, I'm trying to add a member to a cohort using the AddCohortMember, CohortType and UserType classes but keep failing. What am I doing wrong? ``` member = AddCohortMember(CohortType(type =...
Use the glossary module, is it available?
Hi, Sorry to create issue many times, This module support send assignement directly ? Thanks.
Moodlepy version 1 means all functions and arguments must be implemented, but it is not mandatory for tests, documentation and types. Area list: - [ ] core_course - [ ]...
**Is your feature request related to a problem? Please describe.** I would like to be able to get the quiz details, like number of attempts, grades, status and all other...
**Describe the bug** `core_completion_get_course_completion_status` response has a cast issue. The class `CourseCompletionStatus` cast boolean values as integer that is weird. **To Reproduce** Steps to reproduce the behavior: 1. Call the...
(again based on #24) This PR adds the ability to use the [file upload endpoint](https://moodledev.io/docs/5.0/apis/subsystems/external/files#file-upload) directly through `Moodle` instances: ```py result = moodle.upload( ('filename.txt', open('./filename.txt', 'rb')), ) result.filename # filename.txt...