dsimib1625 2015-06-16 21:36
浏览 520

通过传递Steam用户名从Steam API检索SteamID

I am wondering is there a way that if a user enters their 'Steam Username' that you can then find their 'SteamID'. I have been looking all through the 'Steam API' and have found no information about this.

My idea was for a user to enter their 'Steam Username' into a box and when they submit the form, I am able to fire a request of to a steam web service which returns me back that user's 'SteamID'.

My question is abit different than other users as I just want to just search by entering the Steam Username. It should not matter if a user has got a CustomURL or not, as when I send the Steam Username to a 'Web Service' it should return back a users ID.

If anyone has any information that could help me with this it would be greatly appreciated.

  • 写回答

2条回答 默认 最新

  • dongqing8765 2015-06-16 21:52
    关注

    The Steam API is indeed not the best documented API.

    I have done a similar task before and I found this page helpful:

    The page also includes an example request URL, it looks like this:

    http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=YOU-API_KEY&vanityurl=USER_NAME
    
    评论

报告相同问题?

悬赏问题

  • ¥15 MATLAB怎么通过柱坐标变换画开口是圆形的旋转抛物面?
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥20 求一个html代码,有偿