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
Close
Hashes for virtualcollegeapiwrapper-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 606315871b7df064f3922e96aecd138b235b051a77a0c0982d7d1c3e364b0311 |
|
MD5 | 54868c9f1069a608f552b002d8b979de |
|
BLAKE2b-256 | bc55f6211e3085c4ed3be532d3301ba2163d299ebf256b3ad4d3c9c7dc3cddca |
Close
Hashes for virtualcollegeapiwrapper-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2612dd00ebee4f188807f046a856a8a9d16b03576d7214547773a770d33ccb45 |
|
MD5 | ac3ed6e505f3d4e4a20412da2942c1af |
|
BLAKE2b-256 | 0927dd1aae7311d1f8dff120068455ca97e6ee871b95159f30affbecd24e65d0 |