git.haldean.org apex / 7382aa4
stable output from json api Haldean Brown 8 months ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4848 return json.loads(r.get(gamekey).decode("utf-8"))
4949
5050 def dump_games_to_json(username):
51 gamekeys = get_user_games(username)
51 gamekeys = list(get_user_games(username))
52 gamekeys.sort()
5253 rows = []
53 cols = sorted(list(valid_fields))
54 cols = list(valid_fields)
55 cols.sort()
5456 d = []
5557 for key in gamekeys:
5658 gamedata = get_game(key)