xAPI queries can be used to retrieve statements from an LRS. This video demonstrates a practical example querying the LRS for statements. Explore the statements that the LRS returns and learn how to pull out the exact statement element data you need for your products.
- [Instructor] Here's an example of a web page using…xAPI queries to pull quiz information.…Now the quiz information we're pulling is from the lesson…where we sent quiz information using xAPI asking which…color car almost hit our friend Cora.…So if you hit Get Statements it's going to ask for a name.…I hit OK and here we see that I answered Anthony answered…sort of an off white eggshell sort of thing.…If I hit this again and see what Craig answered, you can see…Craig answered green.…
Craig got it right.…So let's take a look at how this is working under the hood.…So again, we're using these same four steps, step one…set up the lrs, step two tell the browser to use that lrs,…step three we're setting up our query, and step four…we're sending the query.…Now what happens here in step four is we're sending…the query and we're actually assigning the results…to this variable called ret, which is short for return.…
Now this lesson is going to be a little code-y, but it's…okay we're not going to get really deep I just want to show…
- Setting up an LRS in SCORM Cloud or Veracity
- Building an xAPI statement
- Using xAPI extensions
- Sending statements to an LRS
- Recording video plays
- Recording quiz results
- Querying the LRS
- Correlating LRS data for more insights
- Using xAPI for adaptive learning
Skill Level Beginner
Elearning Techniques: Visual Designwith Sally Cox1h 34m Intermediate
What you should know1m 48s
1. Introduction to xAPI
2. Anatomy of xAPI Statements
3. Working with Statements
4. Getting Statements from Your LRS
Next steps2m 19s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.