steam

Steam API Authentication

六月ゝ 毕业季﹏ 提交于 2019-11-26 19:47:45
Before I get started, let me say I know absolutely nothing about OpenID. I don't even want to do what OpenID is used for, but I imagine people will mention it, but thats not what I'm looking for. I have software. That software requires users to provide their Steam Username when they register. They are not signing on through Steam, just providing their username so that others know their steam username. So there is no need for OpenID. I know, I can simply just add a text field and have them list their Steam username and call it a day. However, doing this, people can input pretty much any steam

Get the price of an item on Steam Community Market with PHP and Regex

这一生的挚爱 提交于 2019-11-26 13:54:01
问题 I'm trying to use PHP to get the Steam Community Market price of an item. I take a url (for example : http://steamcommunity.com/market/listings/730/StatTrak%E2%84%A2%20P250%20%7C%20Steel%20Disruption%20%28Factory%20New%29) and then I download the content with file_get_contents() . I tried to use this : function getInnerHTML($string, $tagname, $closetagname) { $pattern = "/<$tagname ?.*>(.*)<\/$closetagname>/"; preg_match($pattern, $string, $matches); return $matches[1]; } Using getInnerHTML(

Getting someone&#39;s Steam inventory

Deadly 提交于 2019-11-26 08:48:13
问题 I am making a website that needs to access the Steam inventory of the user. I found an API to get Team Fortress 2 inventory, Dota 2, CS:S, CS:GO and Portal 2. But I didn\'t find any API for getting Steam inventory. Is it possible to access a user\'s Steam inventory? 回答1: New Endpoint There is a new end point for fetching inventories as of December 2016. The old one listed below still works (for now). Both seem to be highly ratelimited. The new inventory path is: http://steamcommunity.com

Steam API Authentication

点点圈 提交于 2019-11-26 07:26:56
问题 Before I get started, let me say I know absolutely nothing about OpenID. I don\'t even want to do what OpenID is used for, but I imagine people will mention it, but thats not what I\'m looking for. I have software. That software requires users to provide their Steam Username when they register. They are not signing on through Steam, just providing their username so that others know their steam username. So there is no need for OpenID. I know, I can simply just add a text field and have them