Welcome to veracross-client’s documentation!
This project provides a Python wrapper for the Veracross API, allowing Veracross administrators to access, manipulate, and manage data programmatically with Python.
Installation
Install the latest version of veracross-client:
pip install --upgrade veracross-client
Getting Started
Create an OAuth Application in Veracross following the instructions in the Veracross Community documentation.
Configure the OAuth Application’s scopes to access the desired data.
Use sample_config.json in this repository as a template to create a config.json file:
{
"client_id": "OAuth application client id",
"client_secret": "OAuth application client secret",
"school_route": "school route that appears in Veracross URL"
}
Connect to the Veracross API:
import veracross_client as vc
import json
secrets = json.loads(open('config.json').read())
client = vc.VeracrossClient(school_route=secrets['school_route'],
client_id=secrets['client_id'],
client_secret=secrets['client_secret'],
scopes=["_scope 1_", "_scope 2_", ...])
Contributing
The wrapper is in development. Report any issues you encounter, specifying the problematic method and a description of the error.
Contents: