無所屬單位

首頁 文獻與幫助
Community Data

一旦在此完成登記並登入您的帳戶,便能得到更多訊息與連結。

WARNING: The community XML data is deprecated. We recommend using the web APIs whenever possible.

Steam provides access to community data in an XML format that can be consumed by game developers and other community sites. It is important to note that a player's data might be unavailable if the player's privacy settings prevent the data from being exposed.

Player Profile

Information presented on a player's profile page is available using the player's 64-bit Steam ID with:
or using their Custom URL (set by the user in their profile):

Player Game Stats

To retrieve game stats, you will need the game's Steam Community name. Developers can contact Valve to obtain the community name for their game.

You can retrieve stats and achievements for a player per game using the player's 64-bit Steam ID with:
or using their Custom URL (set by the user in their profile):

Note: For most games, the Steam Community only exposes achievements a user has received. However, a player's game play stats are exposed for games that have a custom Steam Community stats page.

For games that are configured to expose raw stats data, you can retrieve stats for a user using their 64-bit Steam ID and the game's Application ID with:

or using their Custom URL (set by the user in their profile) and the game's Application ID with:

Leaderboards

To retrieve entries for a leaderboard, you will need the leaderboard's ID. The ID for each leaderboard is returned in the list of leaderboards for a game.

You can retrieve the list of leaderboards for a game using the game's Steam Community name with:
You can retrieve all leaderboard entries created by friends of a player using the player's 64-bit Steam ID with: You can retrieve a global range of leaderboard entries with (StartRange and EndRange are integers):

Groups

You can retrieve the list of members in a group by using the group's 64-bit Steam ID with: or using the group's Steam Community name with:

還有疑問嗎?

Ask questions on the Community Data discussion forum

 

Valve 保密

本頁含有 Valve 的機密資訊並設有訪問限制。您必須與 Valve 簽署涵蓋機密資訊的保密協議和/或授權條款,方能使用本網站。