【问题标题】:How to get Xbox avatar in your windows 8.1 store app ? [closed]如何在您的 Windows 8.1 商店应用中获取 Xbox 头像? [关闭]
【发布时间】:2014-02-18 10:52:25
【问题描述】:

在我的应用中,我想访问和使用用户的 Xbox 头像。我开始知道 Xbox Live Avatar API 不会暴露给项目!有没有办法做到这一点?

【问题讨论】:

  • 你要3D模型还是图片?

标签: c# windows-8 windows-8.1 avatar


【解决方案1】:

如果你可以从 live id API 获取玩家代号,你可以使用this:

小http://avatar.xboxlive.com/avatar/sample/avatarpic-s.png

大号http://avatar.xboxlive.com/avatar/sample/avatarpic-l.png

全身http://avatar.xboxlive.com/avatar/sample/avatar-body.png

当然,您必须将“sample”替换为玩家代号。

【讨论】:

  • 如果用户在线,它工作正常。即使用户离线,有什么方法可以获取头像? @aloisdg
  • 这很好用。您可以使用https://xboxapi.com/v1/profile/[gamertag] 发出GET 请求,以了解用户是离线还是在线。 (更多自定义apihere和here
  • 谢谢!这真的很有帮助。最后一件事,我可以使用 win8 从本地机器获取我自己的 Xbox 动画头像吗???? [离线时] @aloisdg
  • 我不知道你能不能。您可以在 API 中搜索。
  • 啊,要是能得到头像的3d模型就好了。
猜你喜欢
  • 2014-01-17
  • 2016-07-18
  • 2015-10-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多