显示 Xbox Live 在线状态?
可能的重复:
.NET Xbox Live 帐户 API
我正在研究如何获取 Xbox Live 会员的存在(即不在线,在线玩_)。
唯一的方法是登录 Xbox.com,访问玩家页面,然后从 div 中抓取一些文本。 http://live.xbox.com:80/en- US/MyXbox/Profile?gamertag=example 参见此处:
<div id="CurrentActivity">
Call of Duty Black Ops - In Combat Training on Summit
</div>
是否可以登录 http://xbox.com 使用脚本或以其他方式查找玩家的当前状态?
Xbox Live 确实有一个 API,但它不是一个选项,因为它很难进入。
Possible Duplicate:
.NET XBox Live Account API
I'm looking into how to get a Xbox Live member's presence (i.e. Not Online, Online playing _).
The only way is to be signed into Xbox.com, visit the player's page, and scrape some text from a div. http://live.xbox.com:80/en-US/MyXbox/Profile?gamertag=example Seen here:
<div id="CurrentActivity">
Call of Duty Black Ops - In Combat Training on Summit
</div>
Is there a way to sign into http://xbox.com with a script or otherwise find a player's current status?
Xbox Live does have an API, but it's not an option due to it's very hard to get in.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
恐怕 API 是唯一的出路。微软这样做的原因是,如果你知道谁登录或未登录,这对客户来说是一个安全问题 - 因此你需要通过符合客户隐私设置的 API 进入。
I am afraid that the API is the only way to go. The reason why Microsoft do this, is that it is a security issue for its customers if you can know who is or is not signed in - so you need to go in via the API which complies with the customers privacy settings.