tin-can-api

Is it possible to filter statements by Team in Tin Can?

≯℡__Kan透↙ 提交于 2019-12-02 09:59:11
I'm recording statements to the LRS and in each of those statements I always set the "Team" property. I know I'm able to filter those statements by verb, activity and many other parameters as described here . However, I can't find a way to filter statements by Team (which is a property of Context). Is it possible? I think the best you can do is to use identified groups (a group with an IFI) as the value of the "team" property and then request statements using the "related_agents" query parameter. Note that this will include statements where that identified group is also the "actor" or in any

Need to integrate Unity output to TinCan API?

南笙酒味 提交于 2019-12-02 07:31:14
I have developed a serious game(learning game) in Unity. I would like the game to be TinCan compliant. Can somebody tell me about the processes involved in making it TinCan compliant? Tin Can compliancy doesn't really have a specific technical meaning, in so far as it can be tested objectively. Having said that, if your content tracks its experience (learning) data in a Learning Record Store (LRS), specifically a "conformant" LRS (see test suites or ask your vendor) then that content would generally be considered "Tin Can Compliant" because it is up to the LRS to enforce the requirements in

How to execute a query on tin-can statements?

佐手、 提交于 2019-12-01 07:41:34
问题 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? 回答1: I used tinCanPhp library. This is how you establish a connection with the Learning Locker database and query it in PHP. For example: $lrs = new TinCan\RemoteLRS( 'endpoint/public/data/xAPI/', '1.0.1', 'username', 'key' ); $actor = new TinCan\Agent( [ 'mbox' => 'mailto:dikla@gmail.com