Skip to content

Latest commit

 

History

History
55 lines (50 loc) · 10.2 KB

v1appbadge.md

File metadata and controls

55 lines (50 loc) · 10.2 KB

V1AppBadge

Example Usage

import { V1AppBadge } from "@steamsets/client-ts/models/components";

let value: V1AppBadge = {
  accountInfo: {
    completionTime: new Date("2023-01-01T00:00:00Z"),
    level: 123456,
    xp: 123456,
  },
  appId: 355613,
  appImage: "<value>",
  appName: "<value>",
  badgeId: "<id>",
  badgeImage: "<value>",
  baseLevel: 940432,
  baseXp: 765326,
  firstCompletion: new Date("2025-03-31T12:50:52.284Z"),
  highestLevel: 903720,
  isEvent: false,
  isFoil: false,
  isSale: false,
  lastCompletion: new Date("2023-04-02T10:20:37.470Z"),
  name: "<value>",
  price: 552193,
  scarcity: 584476,
  steamId: 961937,
};

Fields

Field Type Required Description
accountInfo components.AccountBadgeInfo N/A
appId number ✔️ N/A
appImage string ✔️ N/A
appName string ✔️ N/A
badgeId string ✔️ N/A
badgeImage string ✔️ N/A
baseLevel number ✔️ The level this badge starts at
baseXp number ✔️ The XP the badge gives per level
firstCompletion Date ✔️ N/A
highestLevel number ✔️ N/A
isEvent boolean ✔️ N/A
isFoil boolean ✔️ N/A
isSale boolean ✔️ N/A
lastCompletion Date ✔️ N/A
name string ✔️ N/A
price number ✔️ : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
scarcity number ✔️ N/A
steamId number ✔️ N/A