Python - Steam User Status
I've been looking for a method to get a steam users status. This includes things like the game they're playing, if they're online or if they're offline. I was originally going to scrape the page, but I figured there must be an easier way to do it.
I looked around for pages wh开发者_运维知识库ich might be json of the users current status, perhaps even an API. But I haven't found anything yet.
Start with the Steam Web API. I think you are looking to work with GetPlayerSummaries.
Did you see:
http://steamcommunity.com/dev
Steam Web API Documentation
Valve provides these APIs so website developers can use data from Steam in new and interesting ways. They allow developers to query Steam for information that they can present on their own sites. At the moment the only APIs we offer provide item data for Team Fortress 2, but this list will grow over time.
精彩评论