Steamworks Documentation
IPlayerService Interface
Provides additional methods for interacting with Steam Users.

See ISteamUser for the primary interface.

NOTE: This is a Service interface, methods in this interface should be called with the input_json parameter.

For more info on how to use the Steamworks Web API please see the Web API Overview.

GetRecentlyPlayedGames

GET https://partner.steam-api.com/IPlayerService/GetRecentlyPlayedGames/v1/
NameTypeRequiredDescription
keystringSteamworks Web API user authentication key.
steamiduint64The player we're asking about
countuint32The number of games to return (0/unset: all)

Gets information about a player's recently played games

GetSingleGamePlaytime

GET https://partner.steam-api.com/IPlayerService/GetSingleGamePlaytime/v1/
NameTypeRequiredDescription
keystringSteamworks Web API user authentication key.
steamiduint64The player we're asking about
appiduint32AppID that we're getting playtime for

Gets information about a player's playtime for a single appID. The WebAPI key must be associated with this appID to get back results

GetOwnedGames

GET https://partner.steam-api.com/IPlayerService/GetOwnedGames/v1/
NameTypeRequiredDescription
keystringSteamworks Web API user authentication key.
steamiduint64The player we're asking about
include_appinfobooltrue if we want additional details (name, icon) about each game
include_played_free_gamesboolFree games are excluded by default. If this is set, free games the user has played will be returned.
appids_filteruint32if set, restricts result set to the passed in apps

Returns a list of games owned by the player if their owned games/game details are visible to you.

GetSteamLevel

GET https://partner.steam-api.com/IPlayerService/GetSteamLevel/v1/
NameTypeRequiredDescription
keystringSteamworks Web API user authentication key.
steamiduint64The player we're asking about

Returns the Steam Level of a user

GetBadges

GET https://partner.steam-api.com/IPlayerService/GetBadges/v1/
NameTypeRequiredDescription
keystringSteamworks Web API user authentication key.
steamiduint64The player we're asking about

Gets badges that are owned by a specific user

GetCommunityBadgeProgress

GET https://partner.steam-api.com/IPlayerService/GetCommunityBadgeProgress/v1/
NameTypeRequiredDescription
keystringSteamworks Web API user authentication key.
steamiduint64The player we're asking about
badgeidint32The badge we're asking about

Gets all the quests needed to get the specified badge, and which are completed