How do I integrate xAPI or cmi5 in my Django application?

78 Views Asked by At

I have all the user's activity data like course completion data, course topic completion data, time spent on each topic and course, assessment data in MySQL database. But, I couldn't find the documentation/tutorial on integrating cmi5 (with/without xAPI) into Learning Management System platform built using Django web-framework.

So, far I have learned a little about the cmi5 from the below links,

  1. https://risc-inc.com/cmi5-overview-process-flow/
  2. https://xapi.com/cmi5/cmi5-technical-101/
1

There are 1 best solutions below

2
On

That's a very broad question. The broad answer is you need to set up a learning record store (LRS), then configure your Django app to connect to the LRS for sending/getting statements. Note that CMI5 is a subset of xAPI, you can't use CMI5 without xAPI, and xAPI requires an LRS.