Difference between revisions of "Standings JSON"

From PC2wiki
Jump to: navigation, search
(initial stub)
(No difference)

Revision as of 19:59, 20 June 2013

Standings JSON

A future feature for pc2 is a JSON output/file that includes the equivalent of the Scoreboard HTML.

The JSON output will be delivered like the Event Feed and also be produced using pc2 reports.

Format

Work in progress TBD

{"id":"22","name":"University of Brevia","group":"Pangea"
	,"B":{"a":1,"t":20,"s":"solved"}
	,"C":{"a":1,"t":204,"s":"solved"}
	,"D":{"a":1,"t":66,"s":"first"}
	,"E":{"a":1,"t":112,"s":"solved"}
	,"F":{"a":3,"s":"tried"}
	,"I":{"a":2,"t":292,"s":"solved"}
	,"K":{"a":6,"t":275,"s":"solved"}
	,"L":{"a":3,"t":152,"s":"solved"}},

Rank|integer
University_name | String 
Group_name| String
Problem_letter | upper case char [A-Z]
Attempts | Integer
Elapsed_time | Integer
Results_phase | String: "tried", "solved", "first"