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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for virtualcollegeapiwrapper-0.1.6.tar.gz
Algorithm Hash digest
SHA256 606315871b7df064f3922e96aecd138b235b051a77a0c0982d7d1c3e364b0311
MD5 54868c9f1069a608f552b002d8b979de
BLAKE2b-256 bc55f6211e3085c4ed3be532d3301ba2163d299ebf256b3ad4d3c9c7dc3cddca

See more details on using hashes here.

File details

Details for the file virtualcollegeapiwrapper-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for virtualcollegeapiwrapper-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2612dd00ebee4f188807f046a856a8a9d16b03576d7214547773a770d33ccb45
MD5 ac3ed6e505f3d4e4a20412da2942c1af
BLAKE2b-256 0927dd1aae7311d1f8dff120068455ca97e6ee871b95159f30affbecd24e65d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page