Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/steamy/Steam/api/mod.ts>getPlayerSummaries_ResultPrivate

Steamy is a library made to help interact with Valve's REST APIs for their various games and services by providing easy asynchronous functions to call them, along with a key manager, and type checking to boot.
Latest
interface getPlayerSummaries_ResultPrivate
import { type getPlayerSummaries_ResultPrivate } from "https://deno.land/x/steamy@v0.05a/Steam/api/mod.ts";

Properties

realname: string

The player's "Real Name", if they have set it.

primaryclanid: string

The player's primary group, as configured in their Steam Community profile.

timecreated: number

The time the player's account was created.

gameid: string

If the user is currently in-game, this value will be returned and set to the gameid of that game.

gameserverip: string

The ip and port of the game server the user is currently playing on, if they are playing on-line in a game using Steam matchmaking. Otherwise will be set to "0.0.0.0:0".

gameextrainfo: string

If the user is currently in-game, this will be the name of the game they are playing. This may be the name of a non-Steam game shortcut.

cityid: number

This value will be removed in a future update (see loccityid)

loccountrycode: CountryCode

If set on the user's Steam Community profile, The user's country of residence, 2-character ISO country code

optional
locstatecode: StateCode

If set on the user's Steam Community profile, The user's state of residence

optional
loccityid: number

An internal code indicating the user's city of residence. A future update will provide this data in a more useful way. steam_location gem/package makes player location data readable for output. An updated readable list can be found at quer's steam location Getting locstatecode and loccityid, can now be done from https://steamcommunity.com/actions/QueryLocations///