Skip to content

Add gameinfo to player state#5

Open
sirsquidness wants to merge 1 commit intoDPr00f:masterfrom
sirsquidness:master
Open

Add gameinfo to player state#5
sirsquidness wants to merge 1 commit intoDPr00f:masterfrom
sirsquidness:master

Conversation

@sirsquidness
Copy link

When user is in a game, extra state is returned on the player object - here is an example response, unimportant crap removed for conciseness:

{
    "response": {
        "players": [
            {
                "steamid": "{redacted}",
                "communityvisibilitystate": 3,
                "profilestate": 1,
                "personaname": "{redacted}",
                "lastlogoff": {redacted},
                "profileurl": "{redacted}/",
                "avatar": "{redacted}",
                "avatarmedium": "{redacted}",
                "avatarfull": "{redacted}g",
                "personastate": 3,
                "primaryclanid": "{redacted}",
                "timecreated": {redacted},
                "personastateflags": 0,
                "gameextrainfo": "Spelunky",
                "gameid": "239350",
                "loccountrycode": "AU"
            }
        ]

    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant