Standing
Standings Model
BracketStanding
¤
Represents a Team's standing in a bracket
Attributes:
| Name | Type | Description |
|---|---|---|
tournament_team_id |
int
|
Tournament Team ID |
placement |
int
|
Placement |
stats |
StandingStats
|
Standing Stats |
Source code in sendou/models/tournament/bracket/Standing.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
api_route(**kwargs)
staticmethod
¤
Returns API route for the model
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tournament_id
|
str
|
Tournament ID |
required |
bracket_index
|
int
|
Bracket Index |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
API Route |
Source code in sendou/models/tournament/bracket/Standing.py
89 90 91 92 93 94 95 96 97 98 99 100 101 | |
StandingStats
¤
Stats for a Standing
Attributes:
| Name | Type | Description |
|---|---|---|
set_wins |
int
|
Set Wins |
set_losses |
int
|
Set Loses |
map_wins |
int
|
Map Wins |
map_losses |
int
|
Map Loses |
points |
int
|
Points |
wins_against_tied |
int
|
Wins Against Tied |
buchholz_sets |
Optional[int]
|
Buchholz Sets |
buchholz_maps |
Optional[int]
|
Buchholz Maps |
Source code in sendou/models/tournament/bracket/Standing.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
from_dict(data)
classmethod
¤
Returns a StandingStats object from a dictionary
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
dict
|
Dictionary |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StandingStats |
StandingStats object |
Source code in sendou/models/tournament/bracket/Standing.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |