Skip to content

dominikhoebert/MoodleSync_Faces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoodleSync Faces

Description

Python Script creates a Moodle XML question file using the students profile pictures of a Moodle course. A question includes a students profile picture and 4 random answers.

Usage

When running the main script, it is looking for a data/credendials.json file in the data directory.

{
  "url": "https://moodle.example.com",
  "user": "username",
  "password": "password",
  "service": "ask_your_admin"
}

If the file is not found, the script will ask for the credentials. Ask your admin for the service name. Then the course and a number of groups can be selected to create the questions from. The script will create one or more XML files in the data directory, which can be imported into Moodle.

Students without a profile picture will be ignored.

docker run --rm -it -v ${pwd}:/app/data dominik1220/moodle_sync_faces

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages