Experience API (xAPI) Tabulation Reports Script
You will need https://github.com/technomancy/leiningen to build domesday.
$ git clone https://github.com/Saltbox/domesday.git
$ cd domesday/
$ lein uberjar
You will find the jar containing domesday and all of its dependencies inside of the target/
directory.
You can run domesday using Leiningen:
$ lein run -- -A [2014-04-30T11:38:16-0700] -Z [2014-04-30T12:38:16-0700] -e [https://url.to.my.lrs.example.com/TCAPI/statements] -u [basicusername] -p [basicpassword] first_group_filename.txt second_group_filename.txt
Or you can run the uberjar without needing Leiningen:
$ cd target/
$ java -jar domesday-0.1.0-SNAPSHOT-standalone.jar -A [2014-04-30T11:38:16-0700] -Z [2014-04-30T12:38:16-0700] -e [https://url.to.my.lrs.example.com/TCAPI/statements] -u [basicusername] -p [basicpassword] first_group_filename.txt second_group_filename.txt
Each filename passed on the command line will be treated as a new group to tabulate on. Domesday will use the first line of each file as the name of the group in the output. Domesday will use each subsequent line in each file as an xAPI agent definition.
-A [ISO8601 formatted start time]
Date and time to provide to your LRS as the `since`
parameter.
-Z [ISO8601 formatted end time]
Date and time to provide to your LRS as the `until`
parameter.
-u [HTTP Basic username for your LRS]
-p [HTTP Basic password for your LRS]
-e [LRS statements URL]
-q [URL query string]
Additional GET parameters to pass to your LRS's
statements endpoint.
...
...
Copyright © 2014 Saltbox Services
Distributed under the Apache License. See LICENSE file for the full license text.