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

Not entirely sure why you’d want to do this the hard way and regex through HTML when there’s a perfectly working call which returns JSON. Although the original answer is correct and answers the OP question directly, this provides a much easier and efficient way of getting the market value of an item. GET: http://steamcommunity.com/market/priceoverview/?currency=3&appid=730&market_hash_name=StatTrak%E2%84%A2%20P250%20%7C%20Steel%20Disruption%20%28Factory%20New%29 … Read more

Getting someone’s Steam inventory

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/inventory/<PROFILEID>/440/2?l=english&count=5000 With this new path, l is the language you want to receive data back in and count is the … Read more

Steam API Authentication

There is a need for OpenID. That’s the method that Valve uses according to their documentation. You don’t mention what your application is written in, so I can only guess that you are doing this via a web page. In that case, I recommend using the LightOpenID library. From there, this sample code should be … Read more