Skip to main content

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

virtualcollegeapiwrapper-0.1.6.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

virtualcollegeapiwrapper-0.1.6-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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