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
Built Distribution
File details
Details for the file moodle-mobile-py-1.0.3.tar.gz
.
File metadata
- Download URL: moodle-mobile-py-1.0.3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61089812f29a8b8936702c3cbae830618e4cc9d33cbc32fd02dd823cf13ac104 |
|
MD5 | 95c7c991d67bc4777e630d6c5d31e178 |
|
BLAKE2b-256 | 3d3ddbbcdaee18087309023b7554937dac2022267318b0c24de90b18a8b1fd04 |
File details
Details for the file moodle_mobile_py-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: moodle_mobile_py-1.0.3-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8f793b2be38401c2dcbd867e17b0e2e1ebf9bab507f82a8bde0acfb458c21a |
|
MD5 | 6e5599c7b3c33a5ad7db2a2830aacb1e |
|
BLAKE2b-256 | ebb2260f83d4ef4d01a897c347faa82764d022a7233cd40f1c643cec8eee157a |