Questions tagged [tin-can-api]

an e-learning software specification that allows learning content and learning systems to speak to each other in a manner that records and tracks all types of learning experiences.

131 questions
0
votes
1 answer

How can one parse this JSON block?

I am working the TinCan API which is sending non-json objects as a JSON request. An example of the Request Payload in said request…
Trip
  • 26,756
  • 46
  • 158
  • 277
0
votes
1 answer

Which tincan verbs to use

For data normalisation of standard tin can verbs, is it best to use verbs from the tincan registry https://registry.tincanapi.com/#home/verbs e.g. completed http://activitystrea.ms/schema/1.0/complete or to use the adl verbs like those defined: in…
ricick
  • 5,694
  • 3
  • 25
  • 37
0
votes
0 answers

I have a third party service that I believe is sending me malformed JSON

And as a result, Rails is dying short before my controllers and returning : 781: unexpected token at 'stateId=resume®istration=bar&actor=null&Authorization=foo&activityId=JumrnmV_course_id&Content-Type=application/json' This is a bit cryptic for…
Trip
  • 26,756
  • 46
  • 158
  • 277
0
votes
2 answers

Execute a javascript function from MVC controller

I have created an eLearning system and I am now trying to integrate tincanapi using the Javascript library that Rustici have created and I am wondering if it is possible to call a javascript method from the MVC controller. In the web view I create…
Jay
  • 3,012
  • 14
  • 48
  • 99
0
votes
1 answer

Wrap SCORM interaction in TinCan statements: is that possible?

I have TinCan LRS and tons of SCORM content. So instead of using SCORM server-side stuff for storing learning results, I want to alter SCORM player so it would issue TinCan statements to my LRS. Is this theoretically possible? I clearly understand…
swingaroo
  • 15
  • 3
0
votes
1 answer

Customise searchStatements result from Tin Can API via jQuery

I'm using the Tin Can API to present results from our LRS. From the sample statement viewer I took: $(document).ready(function(){ TC_VIEWER = new TINCAN.Viewer(); TC_VIEWER.pageInitialize(); TC_VIEWER.searchStatements(); }); All works fine…
-1
votes
1 answer

php-xapi/client parse getStatements method object

I am using php-xapi/client library to get all the statements stored in LRS. Code: $results = $statementsApiClient->getStatements(); Document link: https://github.com/php-xapi/client/blob/master/doc/statements.md It returns the StatementResult…
-1
votes
1 answer

Tin can Api implementation in mvc

I have developed LMS system using mvc. Now i want to implement the tincan api to store and retrieve the courses. I referred the https://rusticisoftware.github.io/TinCan.NET/ url but dont know how to begin. Do we need separate location to store the…
Mukesh Kumar
  • 53
  • 1
  • 10
-1
votes
2 answers

This is inefficient, how can I loop instead?

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…
John M.
  • 347
  • 1
  • 11
-2
votes
2 answers

Can i convert SCORM content into html5 format?

I created the SCORM OF swf content. so how can I convert this SCORM into another SCORM having same content but in HTML5 format?? Is there any direct or Indirect way??
-3
votes
1 answer

How do I receive Tin Can API statements?

I have a source which emits Tin Can API statements and where I can provide endpoint where to send these statements (it's a plugin for moodle). I want to write a simple Java server which will be able to receive these statements. Authentication is…
kolesov93
  • 125
  • 1
  • 4
1 2 3
8
9