Inscribe students into moodle courses by their email. Works with Moodle 3.9.
Project description
Inscribe students into moodle courses by their email, even if the Moodle API is disabled.
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 johannes.ebke@hm.edu --moodle-session AZ42foo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moodle_inscribe-3.9.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for moodle_inscribe-3.9.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9782ce0111bc9c9b65ead2f597f60d4d0fe8906a87c27623de32854f9687d85 |
|
MD5 | cdc58ca917e909ad78ce5cc2309887a6 |
|
BLAKE2b-256 | eaad71ff3b475eca11eeed70b885f9090c8f3e73f2d7d9b56e8f1a7b3822885d |