# Using Xapi in kolibri

**URL:** <https://community.learningequality.org/t/using-xapi-in-kolibri/2605>\
**Category:** Support\
**Created:** [November 4, 2022, 4:16pm UTC](https://community.learningequality.org/t/using-xapi-in-kolibri/2605 "2022-11-04T16:16:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billy](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/billy/32/1141_2.png) [@Billy](https://community.learningequality.org/u/Billy)\
**Post date:** [November 4, 2022, 4:16pm UTC](https://community.learningequality.org/t/using-xapi-in-kolibri/2605/1 "2022-11-04T16:16:06Z")

</div>

Hello community, I was looking for some input on the use of Xapi, however I found nothing, but I would like to know if anyone has managed to implement it, if so could help me?

---

<div class="post-metadata">

**Author:** ![richard](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/richard/32/10_2.png) [@richard](https://community.learningequality.org/u/richard)\
**Post date:** [November 4, 2022, 4:50pm UTC](https://community.learningequality.org/t/using-xapi-in-kolibri/2605/2 "2022-11-04T16:50:34Z")

</div>

Hi @Billy,

Currently our xAPI integration is mostly focused on capturing xAPI statements from [H5P](https://h5p.org/) resources.

We do not currently implement a standard xAPI backend, but rather use a Javascript API that mirrors the xAPI backend implementation, so it is not fully conformant to the CMI5 launch spec.

If you are interested in using this Javascript layer, it is available for use for HTML5 apps in Kolibri. Alternatively, [SCORM 1.2](https://scorm.com/scorm-explained/technical-scorm/run-time/run-time-reference/) is fully implemented and available for HTML5 apps in Kolibri.

For more details on the xAPI Javascript API we have implemented, please see the code: [kolibri/xAPIInterface.js at develop · learningequality/kolibri · GitHub](https://github.com/learningequality/kolibri/blob/develop/packages/hashi/src/xAPI/xAPIInterface.js#L261)

All the methods of the `Shim` class linked to above are available on `window.xAPI`.

Kind Regards,  
Richard
