D
Deleted member 36445
Guest
I made a little modification on qqtimer to allow the user to export the session times in JSON format.
It also allows a comment for the session. (like: "started using moyu weilong" or "color neutral")
It spits the output in this format:
Then is up to you to make a script to parse the times as you want.
http://webfront.com.br/qqtimer_mod/
Have fun
EDIT: Made some modifications following tim's advice:
http://webfront.com.br/qqtimer_mod/json.html
It also allows a comment for the session. (like: "started using moyu weilong" or "color neutral")
It spits the output in this format:
Code:
["21/05/2014","brushing up",[[9.6,"",""],[9.48,"",""],[8.32,"","oll skip"],[9.95,"",""],[11.18,"",""]]],
Then is up to you to make a script to parse the times as you want.
http://webfront.com.br/qqtimer_mod/
Have fun
EDIT: Made some modifications following tim's advice:
I'd suggest using http://en.wikipedia.org/wiki/ISO_8601 for encoding dates. It's pretty much the standard across every format which doesn't have native support for dates.
Also: Instead of using an array of three elements I'd use JSON objects to make it less confusing. I can't figure out what the second element stands for. DNF/+2?
http://webfront.com.br/qqtimer_mod/json.html
Code:
{"date":"2014-05-22T01:56:10.759Z","comment":"brushing up","times":[{"time":"9.60","penalty":"","comment":""},{"time":"9.48","penalty":"","comment":""},{"time":"8.32","penalty":"","comment":"oll skip"},{"time":"9.95","penalty":"","comment":""},{"time":"11.18","penalty":"","comment":""},{"time":"0.99","penalty":"","comment":""}]}
Last edited by a moderator:
