Skip to main content

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


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 details)

Uploaded Source

Built Distribution

moodle_mobile_py-1.0.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

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

Hashes for moodle-mobile-py-1.0.3.tar.gz
Algorithm Hash digest
SHA256 61089812f29a8b8936702c3cbae830618e4cc9d33cbc32fd02dd823cf13ac104
MD5 95c7c991d67bc4777e630d6c5d31e178
BLAKE2b-256 3d3ddbbcdaee18087309023b7554937dac2022267318b0c24de90b18a8b1fd04

See more details on using hashes here.

File details

Details for the file moodle_mobile_py-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for moodle_mobile_py-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8f793b2be38401c2dcbd867e17b0e2e1ebf9bab507f82a8bde0acfb458c21a
MD5 6e5599c7b3c33a5ad7db2a2830aacb1e
BLAKE2b-256 ebb2260f83d4ef4d01a897c347faa82764d022a7233cd40f1c643cec8eee157a

See more details on using hashes here.

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