Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/xapi
Angel Fernando Quiroz Campos e7d09df01f Minor - Flint fixes - refs BT#16742 5 years ago
..
assets XAPI: Start launch for cmi5 - refs BT#16742 5 years ago
cmi5 XAPI: Single import process - refs BT#16742 5 years ago
cron XApi: Send statements from chamilo by cron script - refs BT#16742 5 years ago
lang Minor - flint fixes 5 years ago
php-xapi Minor - Flint fixes 5 years ago
src Minor - Flint fixes - refs BT#16742 5 years ago
tincan XAPI: Single import process - refs BT#16742 5 years ago
views XAPI: Start launch for cmi5 - refs BT#16742 5 years ago
README.md Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x 5 years ago
admin.php Minor - flint fixes 5 years ago
install.php Minor - Format Code - refs BT#16742 5 years ago
lrs.php Minor - Format Code - refs BT#16742 5 years ago
plugin.php Minor - Format Code - refs BT#16742 5 years ago
start.php XAPI: Single import process - refs BT#16742 5 years ago
tool_delete.php XAPI: Single import process - refs BT#16742 5 years ago
tool_edit.php XAPI: Single import process - refs BT#16742 5 years ago
tool_import.php Minor - Flint fixes - refs BT#16742 5 years ago
uninstall.php Minor - Format Code - refs BT#16742 5 years ago

README.md

Experience API (xAPI)

Allows you to connect to an external Learning Record Store and use activities with the xAPI standard.

You can import and use TinCan packages. Import CMI5 packages is to be considered a Beta state and still in development.

Configuration

Set LRS endpoint, username and password to integrate an external LRS in Chamilo LMS.

The fields "Learning path item viewed", "Learning path ended", "Quiz question answered" and "Quiz ended" allow enabling hooks when the user views an item in learning path, completes a learning path, answers a quiz question and ends the exam.

The statements generated with these hooks are logged in Chamilo database, waiting to be sent to the LRS by a cron job. The cron job to configure on your server is located in CHAMILO_PATH/plugin/xapi/cron/send_statements.php.

Use the Statement API from Chamilo LMS

You can use xAPI's "Statement API" to save some statements from another service. You need to create credentials (username/password) to do this. First you need to enable the "menu_administrator" region in the plugin configuration. You will then be able to create the credentials with the new page "Experience API (xAPI)" inside de Plugins block in the Administration panel. The endpoint for the statements API is "https://CHAMILO_DOMAIN/plugin/xapi/lrs.php/";