c++ - 有没有办法将游戏列表信息从 Steam 获取到桌面应用程序中?

标签 c++ visual-studio steam steam-web-api

<分区>

我正在编写一个桌面应用程序,它会从某种获取 Steam 商店列表数据的方式中受益匪浅。我想找到游戏的开发者、名称自动完成信息、一些描述、定价或图片……任何可能的东西。

有什么方法可以通过 Steam 或第三方 API 来做到这一点?

最佳答案

您只能获取自己游戏的列表。 引用官方 Steam Web API 文档,

GetOwnedGames (v0001)

GetOwnedGames returns a list of games a player owns along with some playtime information, if the profile is publicly visible. Private, friends-only, and other privacy settings are not supported unless you are asking for your own personal details (ie the WebAPI key you are using is linked to the steamid you are requesting).

Example URL: http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=XXXXXXXXXXXXXXXXX&steamid=76561197960434622&format=json

更多信息: https://developer.valvesoftware.com/wiki/Steam_Web_API

关于c++ - 有没有办法将游戏列表信息从 Steam 获取到桌面应用程序中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25300063/

相关文章:

c - 有没有关于在 C 中调用没有原型(prototype)的函数的文档?

sql - 有没有办法在 Visual Studio 中将 SQL 脚本导入 MDF 数据库?

visual-studio - 在没有 Visual Studio 的情况下获取 TFS 中的最新源代码

ubuntu - systemd 找不到我的 .service 文件

c++ - C++ 中接受 2D 数组、将其乘以整数并返回新的 2D 数组的函数?

c++ - 类似于 C# 中的模板化回调参数的逆变

c++ - 为什么 strtol 和 strtok 的这种组合不起作用?

c++ - MagickQuantizeImage 用法

javascript - steam价格概述语法错误

java - 今天我们真的需要在 close() 之前调用 flush() 吗?