用于访问 Steam 上的应用程序的数据。
请参见
Web API 概览,对如何使用 Steamworks Web API 了解更多。
GetAppBetas
GET https://partner.steam-api.com/ISteamApps/GetAppBetas/v1/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
appid | uint32 | ✔ | 要获取的测试版的 AppID。 |
为指定应用程序获取所有测试版分支。
注意: 此调用要求拥有指定应用 ID 的发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
GetAppBuilds
GET https://partner.steam-api.com/ISteamApps/GetAppBuilds/v1/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
appid | uint32 | ✔ | 要获取生成版本历史记录的 AppID。 |
count | uint32 | | 要获取的生成版本数量,默认为 10。 |
获取应用程序的生成版本历史。
注意: 此调用要求拥有指定应用 ID 的发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
GetAppDepotVersions
GET https://partner.steam-api.com/ISteamApps/GetAppDepotVersions/v1/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
appid | uint32 | ✔ | 要获取 depot 版本的 App ID。 |
为指定应用程序获取所有 depot 的所有版本。
注意: 此调用要求拥有指定应用 ID 的发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
GetAppList
GET https://api.steampowered.com/ISteamApps/GetAppList/v2/
获取公开应用的完整列表。
此调用无额外参数。
此方法有官方不再支持的旧版。 旧版可以继续使用,但我们强烈建议您使用最新版本。
变更历史:
响应: -
applist
-
apps
- 包含应用程序的列表。
-
appid
- uint32 - 此应用程序的 App ID。
-
name
- string - 此应用程序的名称。
GetPartnerAppListForWebAPIKey
GET https://partner.steam-api.com/ISteamApps/GetPartnerAppListForWebAPIKey/v2/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
type_filter | string | | 可选的用于筛选的类型列表,由逗号分隔。 |
获取与 WebAPI 密钥关联的 appID 的列表。 Type_filter 可用于指定要返回的某些应用类型。 可能的值为“game、application、tool、demo、dlc、music”。 如果 type_filter 为空白或未使用,则返回所有应用。
版本 2 将输出应用名称。
注意: 此调用需要发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
响应示例:{"applist":{"apps":{"app":[{
"appid": 500,
"app_type": "game"
"app_name": "Left 4 Dead"
},
{
"appid": 222840,
"app_type": "tool"
"app_name": "Left 4 Dead Dedicated Server"
},
{
"appid": 222860,
"app_type": "tool"
"app_name": "Left 4 Dead 2 Dedicated Server"
} ]}}}
GetPlayersBanned
GET https://partner.steam-api.com/ISteamApps/GetPlayersBanned/v1/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
appid | uint32 | ✔ | 游戏的 AppID。 |
注意: 此调用需要发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
GetServerList
GET https://partner.steam-api.com/ISteamApps/GetServerList/v1/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
filter | string | | 查询过滤字符串 |
limit | uint32 | | 限制响应中的服务器的数量。 |
注意: 此调用需要发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
GetServersAtAddress
GET https://api.steampowered.com/ISteamApps/GetServersAtAddress/v1/
名称 | 类型 | 是否必需 | 描述 |
addr | string | ✔ | 要列出的 IP 或 IP:queryport |
SetAppBuildLive
POST https://partner.steam-api.com/ISteamApps/SetAppBuildLive/v2/
名称 | 类型 | 是否必需 | 描述 |
key | string | ✔ | Steamworks Web API 发行商验证密钥。 |
appid | uint32 | ✔ | 游戏的 AppID。 |
buildid | uint32 | ✔ | BuildID |
betakey | string | ✔ | 测试版序列号,必需。 对于默认分支,使用“public”。 |
steamid | string | * | 将会确认生成版本变更的帐户的 Steam ID。 如果测试版密钥设为公开,且应用已发行,那么该参数为必需。 |
描述 | uint32 | | 此生成版本的描述,可选。 |
如果应用已发行且测试版密钥设为公开,则需要 SteamID。 SteamID 必须拥有修改生成版本的相应权限,具体而言,是指在“编辑应用元数据”和“在 Steam 上发布应用更改”的权限。 该帐户将会在 Steam 手机应用上收到确认信息。 当需要确认生成版本的变更时,SetAppBuildLive 会发回“201 Created” 的 HTTP 响应代码。
注意: 此调用需要发行商 API 密钥才能使用此方法。 因此,此 API
必须通过安全服务器调用,且绝不能由客户端直接调用!
UpToDateCheck
GET https://api.steampowered.com/ISteamApps/UpToDateCheck/v1/
名称 | 类型 | 是否必需 | 描述 |
appid | uint32 | ✔ | 游戏的 AppID。 |
version | uint32 | ✔ | 游戏安装的版本 |