Skip to main content

Simple library for interacting with the Veracross API

Project description

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.

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

veracross_api3-0.0.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

veracross_api3-0.0.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file veracross_api3-0.0.2.tar.gz.

File metadata

  • Download URL: veracross_api3-0.0.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.2

File hashes

Hashes for veracross_api3-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1c0b64493b587a446350a08e3f6f031a3efda05540f5048e8c99c815f06a77e6
MD5 266b7b5a0bd03cb0fe2e895a32ec6ed8
BLAKE2b-256 fc8e2e184b616258f5a6c0faebcd01534a4c90f3c86595ac02e4f93a968462de

See more details on using hashes here.

File details

Details for the file veracross_api3-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for veracross_api3-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 468157a0b64eca1cecd62e74f5ae2dbec7730376a2d13c4a5e29f5426a234874
MD5 ff4077ed2f059ee242a9f8f08a6881db
BLAKE2b-256 ebf8c6872a2331aaee06452a15ae3096cfd831f527f89fbb92389bed2e023300

See more details on using hashes here.

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