Jump to content
McKay Development

Best way to call steam API for Inventory


Recommended Posts

What is the Best way to call steam api for steam items i have been using

$id = "76561198147982809";
$query = "http://steamcommunity.com/profiles/".$id."/inventory/json/440/2/";;
$json = file_get_contents($query);
$data = json_decode($json, true);

to get my bots inventory of course has 0 tradable items and get the failed error alot

failed to open stream: HTTP request failed! HTTP/1.0 429 Too Many Requests

is calling the


the best way i am creating a website like scrap.tf for my steam bots to buy and sell items

if there is a better way Please let me know i know some about the steam API but not the most about it and not sure which would be best if i use that

and also if i upload my site onto my host will it do the errors alot or just when client calls the json i used?

Edited by Lonster_Monster
Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...