Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
/ LearningLockerAPI Public archive

Aggregation API for Adapt objects in learning locker LRS

Notifications You must be signed in to change notification settings

theodi/LearningLockerAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning Locker aggregator API

Works with learning locker LRS and provides an API that can enable the export of aggregate statistics for dashboards.

Work in progress.

So for you can query for an adapt MCQ acticity URI and it will return the object description and aggregate results including cloices, number of people who succeeded and number of completions.

http://{home_url}/?activiy={activity-uri}

The following params are also supported:

since = date until = date

Currently the "answered" verb is hardcoded so it will only look for activities where this exists.

Installing your own

  1. Clone this repository

  2. npm install

  3. node index.js

Some working test requests

http://localhost:3000/?activity=https://learning.theodi.org/xapi/activities/mit-moral-machine-test%23/id/630f81656b4097008b2afd6f_branching_0&format=chartjs#/id/630f81656b4097008b2afd6f_branching_0&format=chartjs

About

Aggregation API for Adapt objects in learning locker LRS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published