game

The class representing a game

class rawgpy.game.Game(json)[source]

The class representing a Game

categories

The categories that apply to this game, list of instances of Category

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.

developers

The developers that worked on this game, list of instances of Developer

edit()[source]

Sends all edited base variables to rawg

esrb

The ESRB rating this game got, of class ESRB

genres

The genres this game falls under, of class Genre

platforms

The platforms the game is availiable on, list of instances of Platform

populate()[source]

Populates the game by re-requesting the data

publishers

The publishers this game was published by, of class Publisher

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:
  • text (str) – the review text, empty for none
  • level (str) – the name of the rating, as shown on the website
  • reaction (List[int], optional) – a list of reactions, defaults to None
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

tags

The tags this game is tagged with, of class Tag