Contact Us Support Forum Get Email Updates
 
 

Thanks! Someone will be in touch with you shortly.

Rather just email us? Email us here.
Rather speak with someone in person?
Call any time with Experience API questions:

866.497.2676

Download the Experience API Prototypes

When you download the prototypes, you have two options:

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

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:

  • Config.actor = { “mbox”:”mailto:name@domain.com”, “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


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.

 

Try it now

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

Find out more