xAPIWrapper | Wrapper to simplify communication to an LRS | REST library

 by   adlnet JavaScript Version: 1.11.0 License: Apache-2.0

kandi X-RAY | xAPIWrapper Summary

kandi X-RAY | xAPIWrapper Summary

xAPIWrapper is a JavaScript library typically used in Web Services, REST, Nodejs applications. xAPIWrapper has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can install using 'npm i xapiwrapper' or download it from GitHub, npm.

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

            kandi-support Support

              xAPIWrapper has a low active ecosystem.
              It has 193 star(s) with 110 fork(s). There are 45 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 11 open issues and 63 have been closed. On average issues are closed in 121 days. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of xAPIWrapper is 1.11.0

            kandi-Quality Quality

              xAPIWrapper has 0 bugs and 0 code smells.

            kandi-Security Security

              xAPIWrapper has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              xAPIWrapper code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              xAPIWrapper is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              xAPIWrapper releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.
              xAPIWrapper saves you 403 person hours of effort in developing the same functionality from scratch.
              It has 957 lines of code, 0 functions and 25 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed xAPIWrapper and discovered the below as its top functions. This is intended to give you an instant insight into xAPIWrapper implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            xAPIWrapper Key Features

            No Key Features are available at this moment for xAPIWrapper.

            xAPIWrapper Examples and Code Snippets

            No Code Snippets are available at this moment for xAPIWrapper.

            Community Discussions

            QUESTION

            Articulate storyline 360 launch xapi course with adlnet/xAPIWrapper
            Asked 2018-May-11 at 12:00

            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:00

            The 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.

            Source https://stackoverflow.com/questions/50289191

            QUESTION

            This is inefficient, how can I loop instead?
            Asked 2017-Aug-08 at 21:32

            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:10

            Maybe something like this instead? Untested of course.

            Source https://stackoverflow.com/questions/45577577

            QUESTION

            Looping through an object not giving me other languages
            Asked 2017-May-25 at 16:40

            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:40

            QUESTION

            After form submission clear fields and provide message
            Asked 2017-Apr-26 at 15:44

            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:44

            I suggest calling .reset() on your form element:

            Source https://stackoverflow.com/questions/43638698

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install xAPIWrapper

            You can install using 'npm i xapiwrapper' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i xapiwrapper

          • CLONE
          • HTTPS

            https://github.com/adlnet/xAPIWrapper.git

          • CLI

            gh repo clone adlnet/xAPIWrapper

          • sshUrl

            git@github.com:adlnet/xAPIWrapper.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link