game¶
The class representing a game
-
class
rawgpy.game.
Game
(json)[source]¶ The class representing a Game
-
charts
¶ The charts for this game, simply a tuple of
_genrechart
and_yearchart
The GenreChart shows what genre this game is most popular in The YearChart shows the popularity of the game in its release year
-
collect
(collection: rawgpy.collection.Collection)[source]¶ Adds this game to the provided collection
Parameters: collection ( Collection
) – the collection object this game should be added to
-
collections
¶ Returns a list of unpopulated
Collection
objects that this game is part of.
-
esrb
¶ The ESRB rating this game got, of class
ESRB
-
reactions
¶ The reactions to the game, a list of dictionaries with reaction id as key and amount as value
-
review
(text: str, level: str, reaction=None)[source]¶ Adds a review to the game, only works if user is authenticated
Parameters:
-
stores
¶ The stores the game is avaliable on, list of instances of
Store
-
suggestions
¶ Generator that returns
Game
instances of suggestions made by the rawg Neural Network modell
The tags this game is tagged with, of class
Tag
-