Veracross API v3 Python Library
Provides an easy way to pull information from the Veracross API v3 using Python.
Rate limiting and pagination will be handled automatically.
Usage Example:
import veracross_api3 as v
c = {
"school": "abcd",
"client_id": "123456789012345678901234567890",
"client_secret": "12345678901234567890123456789012345678901234567890",
"scopes": ['staff_faculty:read',
'students:read',
'staff_faculty:list',
'students:list']
}
# Create a new object with library
vc = v.Veracross(c)
# Follow the guidelines specified here:https://api-docs.veracross.com/docs
# Specify the endpoint documented in the api or just one record from that target.
# Examples of endpoint are: staff_faculty, students, etc.
# To return one record from that target, just specify the id number.
# Additional parameters are passed using a dictionary.
# Return all faculty and staff
data = vc.pull("staff_faculty")
print(data)
# Return one faculty and staff member by id
data = vc.pull("staff_faculty/99999")
print(data)
# Pass url parameters in a dictionary to the pull method.
# Return all faculty staff updated after 2019-01-01
param = {"faculty_type": "12"}
data = vc.pull("staff_faculty", parameters=param)
print(data)
# Return the amount of requests left in rate limiting
vc.rate_limit_remaining
# Return the amount of time left before the limit is reset
vc.rate_limit_reset
All data will be returned as a dictionary.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
veracross_api3-0.0.5.tar.gz
(8.1 kB
view details)
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 veracross_api3-0.0.5.tar.gz.
File metadata
- Download URL: veracross_api3-0.0.5.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb6c80bf9276c2c64d4e0fc9576bb2f9573bd00a04762c609c96e20ed903f62d
|
|
| MD5 |
bf52976196906ea1e78b8b56623b5ec4
|
|
| BLAKE2b-256 |
7b92bfda1249088e04185293370712d88ba5eb3734fc62f21c184f72c3689afa
|
File details
Details for the file veracross_api3-0.0.5-py3-none-any.whl.
File metadata
- Download URL: veracross_api3-0.0.5-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
346823f7d23446fa8d857d330c8e758191ce76e28badca9b93436670b67a3268
|
|
| MD5 |
2c3d1c76490fa4da9a573e4896a00835
|
|
| BLAKE2b-256 |
d9fdbce3304ca012d70aeb36700b2bc60ad6137268586159992bb4d50c142099
|