Download the Experience API Prototypes

When you download the prototypes, you have two options:

  1. Run them on your local file system or on a web server and report statements to an LRS.
  2. Zip the sample courses into xAPI packages that can be imported into a xAPI enabled system.

1. Run them locally, reporting statements to an LRS

There are three sample courses included in the download — a golf tutorial, a Tetris game and a location-based tour of Nashville museums. You’ll find these courses in their respective folders.

To configure them to report statements to an LRS, you need to edit the config.js (rename it from config.js.template to just config.js). You’ll want to change the config file to contain the correct endpoint for the LRS and the actor name and email address.

You need to get an LRS if you don’t already have one.

The actor line in the config file should look like this, with you replacing the email address and the first/last names:

  • = { “mbox”:””, “name”:”First Last” };

The registration line in the config file should look like this (you can get a new UUID here):

  • Config.registration = “926dbd7c-3d3d-4f0f-b2b9-d0c1db664807”;

After you’ve set up the endpoint and the user info, run the index.html file and you can launch the courses or use the statement viewer to view statements. Depending on your web browser security settings, some of the prototypes may not run correctly if you run the html files directly on your computer; you might need to host them on a server.

Download Prototypes

2. Use the prototypes as xAPI Packages

xAPI still allows for the use of course packages, similar to SCORM packages. To see this in action, just download the prototypes and find the correct folder for the course you’d like to use. You’ll see the Golf Example course, the JsTetris game, and the Locator course. Navigate to the folder of the course that you’d like to use, and create a zip file out of its entire contents. (If you’d rather just have the xAPI courses to import into your LMS, you’ll need to unzip the complete package and re-zip one of the single prototypes).

You now have a xAPI package that can be imported into any xAPI enabled LMS.

Download Prototypes

Try it now

You can use SCORM Cloud to play these packages and courses created in well known authoring tools.

Questions? Ask us anything.

At Rustici Software, we help hundreds of people each month with their xAPI questions. Many aren’t sales prospects; they just have questions. We’re happy to help. You can ask us anything ‒ really.