GitXplorerGitXplorer
g

django-xapi-client

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
c5e3152e50cd1e5102c9545bd89894c7461912c0

Disregard missing server connection.

ggtoffoli committed a year ago
Unverified
2db7cc1b4b76acf04820a0a316f533f319de7887

Fixed view StatementSearch and fun get_statements.

ggtoffoli committed a year ago
Unverified
26e9d7fd41b5cf273b9397177e20ef7673cd2904

Fixed list of contextual activity types.

ggtoffoli committed a year ago
Unverified
9c58955c03ae3598cfcc02ccdfbced01448d4d3e

Added json content type to export file.

ggtoffoli committed a year ago
Unverified
ffca3d498693814a96bc2abb9368f671c100d7a3

Further update of the vocabularies.

ggtoffoli committed a year ago
Unverified
539dd30f90ccbf16bdd40b27a1eb0ef1127b8273

Update of the vocabularies.

ggtoffoli committed a year ago

README

The README file for this repository.

django-xapi-client

A set of functions to put, get and process xAPI statements.

This is a Django app for writing statements to, and reading statements from, an xAPI Learning Record Store (LRS) and supporting some processing on them.

This app was initially created by extracting some code from the CommonSpaces Platform, and was tested with the Learning Locker LRS. Now we have interfaced it also to TRAX LRS.

django-xapi-client relies on the Python implemetation of the xAPI protocol TinCanPython, developed by Rustici Sofware, as maintained by the OpenEdx project. It is still used as an extension of CommonSpaces inside a few Erasmus+ projects.

This client also implements:

  • a UI form for assisting a user in composing xAPI statements manually and sending them to an LRS, as a self-declaration of learning-related activities, possibly in informal learning contexts;
  • a UI form supporting the computation of the URL to be used for getting a Parameterized Learning Analytics Dashboard from Learning Locker.

As a Django app, django-xapi-client has to be configured with a set of context variables defined in the settings module of the main app, which, in our case. is commons (some of these are hidden in a private include file). They include

  • HAS_LRS - enabling / disabling the sending of the xAPI statements;
  • LRS_VERSION - eg. 1.0.1 or 1.0.3;
  • LRS_ENDPOINT - an url defined by the LRS, possibly in relation with a username;
  • LRS_USERNAME - mandatory if LRS_AUTH is not provided;
  • LRS_PASSWORD - mandatory if LRS_AUTH is not provided;
  • LRS_AUTH - if not provided, it is computed by TinCanPython.