API Constants & Schemas

Constants

Here are the constants referenced in the API documentation and their information.

Constant
Description
Value(s)

format

The format of debate to use.

  1. PF (Public Forum)

  2. LD (Lincoln Douglas)

  3. CX (Policy)

circuit

The circuit of tournaments to use.

Circuits for PF:

  1. National

year

The school year (SY) to use. Formatted as SY_SS_EE where SS is the last 2 digits of the starting year and EE is the last 2 digits of the ending year. EE must equal SS + 1 (1 school year at a time).

Public Forum:

National Circuit:

  1. SY_20_21

  2. SY_21_22

Schemas

Team

{
    "id": <(String) team id>,
    "codes": [<(String team code>...],
    "otrScore": <(Float) team OTR Score>,
    "goldBids": <(Int) number of gold bids>,
    "silverBids": <(Int) number of silver bids>,
    "prelimRecord": [
        <(Int) overall number of prelim wins>,
        <(Int) overall number of prelim losses>
    ],
    "breakRecord": [
        <(Int) overall number of elim wins>,
        <(Int) overall number of elim losses>
    ],
    "breakPCT": <(Float) decimal percent of tournaments with elim runs>,
    "tournaments": [<(Tournament)>...]
}

Tournament

Last updated