Skip to content

cg api clash-of-code

The clash-of-code service endpoint. See cg api for how these relate to the higher-level commands.

Every command also accepts -h / --help.

Command Summary
cg api clash-of-code ClashOfCode service commands.
cg api clash-of-code get-clash-rank-by-codingamer-id Get a codingamer's global Clash of Code ranking.
cg api clash-of-code find-clash-by-handle Find a Clash of Code session by its handle.

cg api clash-of-code

ClashOfCode service commands.

usage: cg api clash-of-code [-h] COMMAND ...

Subcommands

cg api clash-of-code get-clash-rank-by-codingamer-id

Get a codingamer's global Clash of Code ranking.

usage: cg api clash-of-code get-clash-rank-by-codingamer-id [-h] [--codingamer-id ID]

Options

  • -g, --codingamer-id ID — Codingamer numeric ID. Defaults to the logged-in codingamer's ID.

cg api clash-of-code find-clash-by-handle

Find a Clash of Code session by its handle.

usage: cg api clash-of-code find-clash-by-handle [-h] HANDLE

Arguments

  • HANDLE — Opaque clash-instance handle string (a per-slot handle from 'api featured-event find-clash-slots'; not a codingamer handle or the parent featured event's own handle--both are rejected by the server).

Generated from the parser itself. For when to use these, see the CLI guides.