Interface Game

This is a type of a single object within the collection "games". A single object describes a single game.

Important: there are several BREAKING changes here in comparison to the legacy Game format:

  • idtype change → was string, is number
  • ratingremoved
  • imgremoved (can be constructed using just Steam ID in the following way: https://cdn.akamai.steamstatic.com/steam/apps/${GAME_ID}/header.jpg)
  • achievementsremoved
  • achievementsTotaladded
  • urlremoved (can be constructed using just Steam ID in the following way: http://store.steampowered.com/api/appdetails?appids=${GAME_ID})
  • saleremoved

Hierarchy

Properties

id: number

Steam ID of the game.

title: string

Title of the game.

description: string

Description of the game.

tier: TierId

ID of the tier that the game belongs to.

achievementsTotal: number

Number of the achievements total that the game has.

price: null | number

Full price of the game in whatever currency is detected.

currency: null | string

Currency of the game's price.

sale: null | number

When the game is on sale, this field shows the % discount.

isCurated: boolean

Indicates if the game is currently being curated on Masochist.ME Steam curator.

isProtected: boolean

If true, removing the game from curator does not remove it from Masochist.ME website.

_id: ObjectId

Generated using TypeDoc