Standings JSON

From PC2wiki
Revision as of 19:59, 20 June 2013 by Doug Lane (talk | contribs) (initial stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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"