Skip to content

veracity-tech/basic-xapi-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Integrating the xAPI Wrapper in Web Content

Overview

This project is a very simple example of using the xAPI Wrapper downloaded from Veracity Learning. Each Veracity LRS provides a page to download a preconfigured xAPI Wrapper to use in web content. You can find a link to the download page on the left-hand menu under the 'Tools' section. This example project demonstrates how to include the xAPI Wrapper in HTML, and how to send 'Initialized' and 'Terminated' statements to the Veracity Learning LRS.

Structure

This example contains the following files:

  • index.html - HTML file containing example javascript code using the xAPI Wrapper
  • LICENSE - Apache 2.0 license
  • README - This file

Use

See Veracity Learning's 'Getting Started' pages for more detailed information on using this example.

In a nutshell:

  • Go to your Veracity LRS home page
  • Find 'XAPI Wrapper' in the 'Tools' section on the left-side menu
  • Download the configured xAPI Wrapper from Veracity Learning
  • Place the xAPI Wrapper at the same location as this project's index.html
  • Open index.html in a browser
  • View the new statements in your Veracity LRS (left-side menu > XAPI Data > Statements)

License

Copyright 2018 Veracity Technology Consultants LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages