Type alias Game

Game: WithId<{
    id: number;
    title: string;
    description: string;
    tier: TierId;
    achievementsTotal: number;
    price: number | null;
    currency: string | null;
    sale: number | null;
    isCurated: boolean;
    isProtected: boolean;
}>

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

Generated using TypeDoc