No project description provided
Project description
VirtualCollegeAPI
original API DOCS https://enableapi.docs.apiary.io/#reference/security/access-tokens
This is a small project, the entire API is not covered yet, I just added the methods that I needed, PRs are welcome.
it handles the creation of JWT and the encoding
Install
pip install virtualcollegeapiwrapper
Usage example
from VirtualCollegeAPIWrapper.VirtualCollege import VirtualCollegeAPI
# InstanceReference and PublicKeyAPI can be found in Virtual college -> Settings -> Api Settings
# You will need an admin account
VC = VirtualCollegeAPI(InstanceReference, PublicKeyAPI, "https://external-api.vc-enable.co.uk")
print(VC.count_users())
For the list of methods look at the Class VirtualCollegeAPI code.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file virtualcollegeapiwrapper-0.1.6.tar.gz.
File metadata
- Download URL: virtualcollegeapiwrapper-0.1.6.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
606315871b7df064f3922e96aecd138b235b051a77a0c0982d7d1c3e364b0311
|
|
| MD5 |
54868c9f1069a608f552b002d8b979de
|
|
| BLAKE2b-256 |
bc55f6211e3085c4ed3be532d3301ba2163d299ebf256b3ad4d3c9c7dc3cddca
|
File details
Details for the file virtualcollegeapiwrapper-0.1.6-py3-none-any.whl.
File metadata
- Download URL: virtualcollegeapiwrapper-0.1.6-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2612dd00ebee4f188807f046a856a8a9d16b03576d7214547773a770d33ccb45
|
|
| MD5 |
ac3ed6e505f3d4e4a20412da2942c1af
|
|
| BLAKE2b-256 |
0927dd1aae7311d1f8dff120068455ca97e6ee871b95159f30affbecd24e65d0
|