A Python Wrapper for the Moodle Mobile API
Project description
MoodleCrawler
A Python Wrapper for the Moodle Mobile API
Installation
Install using pip:
pip install moodle-mobile-py
First Steps
Start by creating an instance of the moodle crawler and logging in:
import moodle
# initialise moodle crawler object
m = moodle.MoodleCrawler("<username>", "<password>", "https://moodle.example.com")
await m.login()
# print whether the current user an an admin of the moodle page
print(m.site_info.is_admin)
Note that the wrapper is written in an async/await style, and you have to call specific functions from coroutines.
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-mobile-py-1.0.3.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for moodle_mobile_py-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8f793b2be38401c2dcbd867e17b0e2e1ebf9bab507f82a8bde0acfb458c21a |
|
MD5 | 6e5599c7b3c33a5ad7db2a2830aacb1e |
|
BLAKE2b-256 | ebb2260f83d4ef4d01a897c347faa82764d022a7233cd40f1c643cec8eee157a |