Skip to content

Inscribe students into moodle courses by their email, even if the API is disabled.

License

Notifications You must be signed in to change notification settings

ptr-app/moodle_inscribe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moodle_inscribe

Inscribe students into moodle courses by their email, even if the Moodle API is disabled.

PyPI

https://travis-ci.org/JohannesEbke/moodle_inscribe.svg?branch=master

Usage

As inputs you need two things from a browser where you are logged into moodle:

  • The Course ID - look at the URL: https://moodle.example.edu/course/view.php?id=42 (where 42 is the course id)
  • A valid MoodleSession cookie value: Open the developer tools, go to "Storage" -> "Cookies" and copy the Value of the "MoodleSession", e.g. AZ42foo

Quick Start:

mkvirtualenv -p $(which python3) moodle
python setup.py develop
moodle_inscribe --host moodle.hm.edu --course-id 42 --email [email protected] --moodle-session AZ42foo

About

Inscribe students into moodle courses by their email, even if the API is disabled.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%