I am using Learning Locker (Learning Record Store). I succeed inserting statements to it via the REST API. But I did not succeed fetching statements from it. How do I preform a query on statements? REST API?
标签:
tin-can-api
相关问题
- How to integrate xAPI / TinCan in Unity
- Is implementing LMS Scorm Tracking without an auth
- How to execute a query on tin-can statements?
- I have a third party service that I believe is sen
- Fetching statements from Learning Locker LRS using
相关文章
- How to execute a query on tin-can statements?
- 我有一个第三方的服务,我相信是给我畸形的JSON(I have a third party serv
- I have a third party service that I believe is sen
- Fetching statements from Learning Locker LRS using
- Are IFRAMES still a necessity in a tracking SCORM
- Integrating SCORM courses or Tin Can API content i
- Need to integrate Unity output to TinCan API?
I used tinCanPhp library. This is how you establish a connection with the Learning Locker database and query it in PHP. For example:
If it's via javascript you can use the ADL xAPI Wrapper. It simplifies communication with an LRS... https://github.com/adlnet/xAPIWrapper#get-statements
In general you do a GET request on endpoint /statements... try just that first and see if you get a json response with a "statements" and a "more" property. Then if that works, you can narrow down results with filters. See the spec for the details and options. https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#stmtapiget
try that curl command.. it should return a statement result albeit from the ADL LRS...
curl --user tom:1234 GET https://lrs.adlnet.gov/xapi/statements