rankade.models.Game
$el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#module-rankade.models.Game">
Module Contents $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#module-contents" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#module-contents'">
Classes $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#classes" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#classes'">
Represents a single Game object returned by Rankade |
|
Represents the list of Games returned by the Rankade server. Individual game objects returned by the server can be accessed in the same way as a regular list. |
API $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#api" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#api'">
- class Game[source] $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game'">
Bases:
rankade.models.Base.RankadeObject
Represents a single Game object returned by Rankade
- id: int = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.id" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.id'">
Rankade id of the game.
- name: str = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.name" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.name'">
Game name.
- weight: str = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.weight" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.weight'">
Should be one of ultralight, light, midlight, normal, heavy, massive. A heavier game will result in a larger variation of the ree score.
- weightLabel: str = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.weightLabel" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.weightLabel'">
Appears to be a nicely formatted version of the weight attribute.
- mediumImage: str = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.mediumImage" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.mediumImage'">
URL for game art.
- thumbnail: str = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.thumbnail" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.thumbnail'">
URL for game art thumbnail.
- bggIdGame: Optional[int] = 'field(...)' $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Game.bggIdGame" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Game.bggIdGame'">
Board Game Geek id for the game.
- class Games(initlist=None)[source] $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Games" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Games'">
Bases:
rankade.models.Base.ResultList
[rankade.models.Game.Game
]Represents the list of Games returned by the Rankade server. Individual game objects returned by the server can be accessed in the same way as a regular list.
Initialization
- _content_class: ClassVar[Type[RankadeObject]] = None $el.setAttribute('data-tooltip', 'Copy link to this element'), 2000)" aria-label="Copy link to this element" class="headerlink" data-tooltip="Copy link to this element" href="#rankade.models.Game.Games._content_class" x-intersect.margin.0%.0%.-70%.0%="activeSection = '#rankade.models.Game.Games._content_class'">
Classvar to allow the an object in the list to be created from a dict returned from the server.