xAPIWrapper | Wrapper to simplify communication to an LRS | REST library
kandi X-RAY | xAPIWrapper Summary
kandi X-RAY | xAPIWrapper Summary
Javascript Experience API wrapper. This javascript file can be included to web based xAPI clients to simplify the process of connecting and communicating to an LRS. It is enclosed in an ADL object like the [ADL xAPI Verbs project] allowing a single object to contain both the ADL verbs and the ADL xapiwrapper. This wrapper has two version identifiers within the code. One, xapiVersion is the version of the Experience API Specification for which it was built, and can be used to determine if the wrapper is compatible with an LRS implementing a specific xAPI Specification version. The second is the build date in the header of the minified file, which can be used to tell if you’re using the latest version.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Launch a XAPI launch service
- Handle the complete request .
- Recursively merge two objects
- Form request object
- Observe mutations that observe for changes
- Returns the code point at the given string .
- Set the course links
- String - > String
- Creates a LRS object from the configuration object .
- Validates a date
xAPIWrapper Key Features
xAPIWrapper Examples and Code Snippets
Community Discussions
Trending Discussions on xAPIWrapper
QUESTION
One of my clients sent me a xAPI course which is created using Articulate Storyline 360 and published as Tin Can API for LMS. I am able to launch the course using method mentioned in below link:
Incorporating a Tin Can LRS into an LMS
So using the above method the launch URL looks like:
...ANSWER
Answered 2018-May-11 at 12:00The adlnet/xAPIWrapper is just a library that makes it easier to communicate with the LRS and requires you to determine how the endpoint and authentication credentials will be passed to the library. In other words it isn't necessarily intended to be used via LMS launch (it will work there, but doesn't have special handling for it). The xapi-launch specification you found as far as I know (at this time) has effectively zero adoption.
The other alternative would be to use cmi5 which is another specification that includes the concepts of packaging, import and launch for content that communicates via xAPI. It uses a different credential handshake process that is similar to both the launch guidelines you linked and the xapi-launch method. It uses query string parameters for the endpoint, but the LRS credentials are accessed via a separate, single use request. It has better adoption (though still early at this time), has been peer reviewed, is under the ADL umbrella, and is on more of a standards path. See https://xapi.com/cmi5/ for more about cmi5. I don't believe Articulate has yet implemented cmi5 in their products (at this time) as they are waiting for more indication for market desire, you should contact them about your interest in it if you feel it is a suitable option.
QUESTION
I'm trying to pull down two verbs and their associated statements and this code works but I recognize that it is inefficient. I tried putting the verbs in an array then referencing the array item in each line where the verb is named but that threw an error. What code can I use to make this loop through a verbs array that I build? Thank you.
...ANSWER
Answered 2017-Aug-08 at 21:10Maybe something like this instead? Untested of course.
QUESTION
I have three JSON statements below that I have turned into a JavaScript object. I want to print out the actor, verb and object for each of these statements. I'm having trouble with the object.definition.name because sometimes it will appear in other languages. Because of this and the way I have it coded now, it gives me "undefined" for the second statement because the second statement is fr-FR and not en-US. How can I modify the object part of my loop so it gives me an object no matter what language it is?
...ANSWER
Answered 2017-May-25 at 16:40Use Object.keys
See this fiddle
QUESTION
I have an HTML form that is using jQuery to process the form selections. The form submits and processes correctly but how do I clear the fields after submission and place a message next to the Submit button that says "Statements sent." Thank you.
HTML5
...ANSWER
Answered 2017-Apr-26 at 15:44I suggest calling .reset()
on your form element:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install xAPIWrapper
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page