Skip to content

verificient/valence-sdk-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desire2Learn Client Library for Python

The Python library divides functionality into a number of modules. The primary module helps with authentication. Several supporting modules can assist with making calls in several areas of the Valence API.

Authentication. The :py:mod:`d2lvalence.auth` module provides assistance for the authentication needed to invoke Valence APIs. You use the module's functions (and perhaps also classes) to create a :py:class:`calling user context <d2lvalence.auth.D2LUserContext>` object that you can then employ in conjunction with the Requests package as an authentication helper.

Installation

You can find the source for our Python client library SDK in two locations:

Dependencies. In order to use the Python client library SDK, you'll need to first ensure you have a working Python development environment:

  • Python 3 (the reference environment uses Python 3.3).
  • The Requests Python package gets in our our :py:mod:`auth <d2lvalence.auth>` module so that you can use a calling user context object as an authentication helper for Requests.
  • The Bottle Python package if you want to use the samples available in conjunction with this client library (not a dependency for the client library itself).

Where'd d2lvalence.data and d2lvalence.service go?

The data and service modules have been decoupled from this package going forward. Continued support for them may appear in a separate d2lvalence-util package.

Packages

No packages published

Languages

  • Python 100.0%