BaZiik
BaZiik

Reputation: 23

CSGO Get players items

For a little project, I want to get a list of all CSGo player's items. I'm using steam web API:

https://api.steampowered.com/IEconItems_730/GetPlayerItems/v1/?key=*****&format=json&steamid=********

I get a HTTP 503, I'm sure that the key and the steam id exists.. The HTML:

<html><head><link rel="alternate stylesheet" type="text/CSS" href="resource://gre-resources/plaintext.css" title="Retour à la ligne automatique"></head><body><pre>{

}</pre></body></html>

Also when I try with

https://api.steampowered.com/IEconItems_440/GetPlayerItems/v1/?key=*****&format=json&steamid=******** 

It works!

Upvotes: 1

Views: 1224

Answers (1)

Marcin
Marcin

Reputation: 1494

Make sure that you entered proper Steam API key and right Steam ID

http://steamcommunity.com/dev

You can also use this link (for CS:GO):

http://steamcommunity.com/id/[YOUR_NICKNAME]/inventory/json/730/2/

Upvotes: 1

Related Questions