Steamworks-dokumentasjon
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 Oversikt over nett-API.

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
app-IDuint32AppID 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_gamesboolGratis spill er utelatt som standard. Hvis dette er angitt, returneres gratis spill som spilleren har spilt.
appids_filteruint32if set, restricts result set to the passed in apps

Returnerer en liste over spill som eies av spilleren hvis vedkommendes egne spill er synlige for deg.

GetSteamLevel

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

Returnerer en brukers Steam-nivå

GetBadges

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

Henter merker som eies av en bruker

GetCommunityBadgeProgress

GET https://partner.steam-api.com/IPlayerService/GetCommunityBadgeProgress/v1/
NavnTypePåkrevdBeskrivelse
keystringSteamworks Web API user authentication key.
steamiduint64Spilleren det gjelder
badgeidint32Merket det gjelder

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