Skip to main content

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.

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 johannes.ebke@hm.edu --moodle-session AZ42foo

Project details


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)

Uploaded Source

Built Distribution

moodle_inscribe-3.9.1-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page