IS MUNI API python wrapper
Python wrapper for the IS MUNI API. The IS MUNI Notes API documentation can be found here.
The output format
Getting Started
Prerequisites
- requires Python 3.6 or higher
Install
- Using PIP:
pip install muni-is-api
- Using the Poetry:
poetry add https://github.com/pestanko/py-is-muni-api.git
Example
Example usage of the IS API client
import muni_is_api
client = muni_is_api.IsApiClient(
domain='is.muni.cz',
token='secret_token',
faculty_id=1000,
course_code='PB000'
)
# Get na course info
course_info = client.course_info()
# Get list of students in the course
students = client.course_list_students(registered=False, terminated=False, inactive=False)
# Get list of stundets in the provided seminary
sem_stud = client.seminar_list_students(seminars=['01', '02'], terminated=False, inactive=False)
# Get list of teachers for the provided seminary
sem_teach = client.seminar_list_teachers(seminars=['01', '02'])
# Get list of all notepads for the course
notepads = client.notepad_list()
# Get notepad content for the specified notepad shortcut and ucos
notepad_content = client.notepad_content(shortcut='hw01', ucos=[1000, 1234, 12345])
# Create a new notepad
client.notepad_new(name="Homework 01", shortcut="hw01", visible=True, complete=False, statistics=True)
# Update a notepad
client.notepad_update(shortcut="hw01", uco=1000, content="Great work! *2", override=True)
# List all exams
exams = client.exams_list(terminated=False, inactive=False)
Metadata
Release files for muni-is-api 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| muni-is-api-0.8.1.tar.gz | 10.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| muni_is_api-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / muni-is-api-0.8.1.tar.gz
| Download URL | muni-is-api-0.8.1.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8da72b73da1bafe476c0b7b7a3bc5bf322b60668e5143f9bd4bbc575e33b79a2
|
|
BLAKE2b-256 checksum How to use checksums |
76f6bfaa15b0c8c085d6eee6611566571fa3afb388262e7e93ed8b9ae6a8fa6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5 Linux/5.3.16-300.fc31.x86_64
|
Release files / muni_is_api-0.8.1-py3-none-any.whl
| Download URL | muni_is_api-0.8.1-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
003c642a5b99d7413e8fb04a1def09ea8f029342f753a362f29db08905edff9a
|
|
BLAKE2b-256 checksum How to use checksums |
5a0be8d6527677a5cee19ebb0b388ae390b11b18ac144aa38614e49ebbca56ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5 Linux/5.3.16-300.fc31.x86_64
|
Security for muni-is-api 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.