Skip to content

Latest commit

 

History

History
87 lines (82 loc) · 5.12 KB

v1accountdatapointsresponsebody.md

File metadata and controls

87 lines (82 loc) · 5.12 KB

V1AccountDataPointsResponseBody

Example Usage

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

let value: V1AccountDataPointsResponseBody = {
  dollarSchema:
    "https://api.steamsets.com/schemas/V1AccountDataPointsResponseBody.json",
  mostXp: [
    {
      accountInfo: {
        completionTime: new Date("2023-01-01T00:00:00Z"),
        level: 123456,
        xp: 123456,
      },
      appId: 16429,
      appImage: "<value>",
      appName: "<value>",
      badgeId: "<id>",
      badgeImage: "<value>",
      baseLevel: 929530,
      baseXp: 669917,
      firstCompletion: new Date("2025-05-10T12:39:43.913Z"),
      highestLevel: 281730,
      isEvent: false,
      isFoil: false,
      isSale: false,
      lastCompletion: new Date("2024-10-04T16:55:58.841Z"),
      name: "<value>",
      price: 63955,
      scarcity: 485628,
      steamId: 977496,
    },
  ],
  playtime: [
    {
      appId: 730,
      image: "someHash.idk",
      name: "CS2",
      playtime: 15,
    },
  ],
  scarcity: [
    {
      accountInfo: {
        completionTime: new Date("2023-01-01T00:00:00Z"),
        level: 123456,
        xp: 123456,
      },
      appId: 876506,
      appImage: "<value>",
      appName: "<value>",
      badgeId: "<id>",
      badgeImage: "<value>",
      baseLevel: 338159,
      baseXp: 961571,
      firstCompletion: new Date("2023-09-11T22:40:46.497Z"),
      highestLevel: 949319,
      isEvent: false,
      isFoil: false,
      isSale: false,
      lastCompletion: new Date("2025-10-28T17:59:56.921Z"),
      name: "<value>",
      price: 799203,
      scarcity: 630448,
      steamId: 874288,
    },
  ],
  xp: {
    "key": {
      "key": 293020,
    },
  },
};

Fields

Field Type Required Description Example
dollarSchema string A URL to the JSON Schema for this object. https://api.steamsets.com/schemas/V1AccountDataPointsResponseBody.json
mostXp components.V1AppBadge[] ✔️ N/A
playtime components.V1AccountPlaytimeDataPoint[] ✔️ N/A
scarcity components.V1AppBadge[] ✔️ N/A
xp Record<string, Record<string, number>> ✔️ N/A