A Game object, used along with the Games data source.
More...
|
| title = property |
| get game title
|
|
| platform = property |
| get game platform
|
|
| rating = property |
| get game rating
|
|
| genre = property |
| get game genres
|
|
A Game object, used along with the Games data source.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
Each game record has title, platform on which it can be played, rating, and a list of genres.
This object is generally not created by the user, to see how its created check out bridges::data_src_dependent::data_source::get_game_data()
- See also
- For an example, check out https://bridgesuncc.github.io/tutorials/Data_IGN_Games.html
- Author
- Matthew Mcquaigue, Kalpathi Subramanian
- Date
- 2/1/17, 12/29/20, 1/6/21
◆ __init__()
bridges.data_src_dependent.game.Game.__init__ |
( |
|
self, |
|
|
str |
title = "" , |
|
|
str |
platform = "" , |
|
|
float |
rating = 0.0 , |
|
|
str |
genre = "" |
|
) |
| |
Constructor.
- Parameters
-
title | game title |
platform | game platform |
rating | game rating |
genre | game's genres |
◆ _genre
bridges.data_src_dependent.game.Game._genre |
|
protected |
◆ _platform
bridges.data_src_dependent.game.Game._platform |
|
protected |
◆ _rating
bridges.data_src_dependent.game.Game._rating |
|
protected |
◆ _title
bridges.data_src_dependent.game.Game._title |
|
protected |
◆ genre
bridges.data_src_dependent.game.Game.genre = property |
|
static |
get game genres
- Returns
- game genres (list of strings)
◆ platform
bridges.data_src_dependent.game.Game.platform = property |
|
static |
get game platform
- Returns
- game platform
◆ rating
bridges.data_src_dependent.game.Game.rating = property |
|
static |
get game rating
- Returns
- game rating
◆ title
bridges.data_src_dependent.game.Game.title = property |
|
static |
get game title
- Returns
- game title
The documentation for this class was generated from the following file:
- bridges-python/bridges/data_src_dependent/game.py