GunSpec

Game

Resource class for interacting with the GunSpec Game API. Wraps all /v1/game endpoints. These endpoints provide game-balanced firearm data suitable for game development, including normalized stats, tier rankings, and balance analysis. Instantiated internally by the GunSpec client and exposed as client.game.

Authentifizierung erforderlichStudio+

Get a balance report showing outlier firearms. Identifies firearms whose game stats deviate significantly from the average, useful for game balancing.

balanceReport(params?: BalanceReportParams): Promise<APIResponse<BalanceEntry[]>>
GET/v1/game/balance-report

  • stringHeadererforderlich

    Ihr API-Schlüssel. Authorization: Bearer <key> wird ebenfalls akzeptiert.

  • numberstandard20

    How far from the mean a stat must sit to be flagged

    Bereich
    0 – 100
    Beispiel

  • object[]

    The response payload.

  • string

    Slug of the firearm this row belongs to.

  • string

    Display name of the firearm this row is about.

  • object[]

    Every stat on this firearm that sits further from the mean than threshold.

  • string

    Which statistic this row is about, named as the field is: weightEmptyG, damage.

  • number

    This firearm value for the stat.

  • number

    Arithmetic mean across the records counted.

  • number

    Standard deviation across the records counted.

  • number

    Standard deviations from the mean. Positive is above it; the sign says which way the firearm is out of line.

  • 400VALIDATION_ERRORValidation error
  • 401UNAUTHORIZEDAPI key required
  • 403FORBIDDENValid key, not permitted
  • 429RATE_LIMITEDRate limit exceeded
  • 500INTERNAL_ERRORUnexpected server error

Mindeststufe
Studio+
Monatskontingent
150,000/mo
Anfragerate
120/min
Tageslimit
10,000

Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.