/vericite_api_python

Primary LanguagePythonApache License 2.0Apache-2.0

vericite_lms_client

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: class io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/vericite/vericite_api_python.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import vericite_lms_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import vericite_lms_client
from vericite_lms_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_client = vericite_lms_client.ApiClient("https://api.vericite.com/lms/v1")
assignment_api_instance = vericite_lms_client.AssignmentsApi(api_client)
context_id = 'context_id_example' # str | Context ID
assignment_id = 'assignment_id_example' # str | ID of assignment
consumer =example# str | the consumer
consumer_secret =example# str | the consumer secret
assignment_data = vericite_lms_client.AssignmentData() # AssignmentData |

try:
    api_response = assignment_api_instance.create_update_assignment(context_id, assignment_id, consumer, consumer_secret, assignment_data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AssignmentsApi->create_update_assignment: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost/v1

Class Method HTTP request Description
AssignmentsApi create_update_assignment POST /assignments/{contextID}/{assignmentID}
ReportsApi get_report_urls GET /reports/urls/{contextID}
ReportsApi get_scores GET /reports/scores/{contextID}
ReportsApi submit_request POST /reports/submit/request/{contextID}/{assignmentID}/{userID}

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author