Skip to content

Sample Client for integrating with GradeCam's Legacy Integration API

License

Notifications You must be signed in to change notification settings

gradecam/python-gradient-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GradeCam Gradient Sample Client

Provides a basic example of how to interact with GradeCam Gradient through the integration API. The API can be used to perform rostering programmatically.

Getting a Client

from gradient import factory

client = factory('https://app-int.gradecam.com', 'DEMO', 'cacd79fbb7524fbc93c468f51f7564b5')

Create/Update some a Term

terms = [
    {"id": "1", "name": "Fall 2022-2023", "start_date": "2022-08-01", "end_date": "2022-12-20" },
    {"id": "2", "name": "Winter 2022-2023", "start_date": "2023-01-04", "end_date": "2023-04-15" },
]
client.post(terms, 'terms')

Retrieve a Term

client.get('terms', '1')

About

Sample Client for integrating with GradeCam's Legacy Integration API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages