Nevermind, please disregard this. Apparently steam was taking a shit when I was trying (steam community was down) and was throwing errors as a result. The URL worked fine when the steam community came back online.
However, while searching around in google I found absolutely nothing useful and just pieced together random stuff until it worked. So as a rundown, I'll just describe how to use it so that some poor soul who wants to do what I did can follow along.
1. The steam API backpack URL is in the form of:
PHP Code:
http://api.steampowered.com/IEconItems_APPID/GetPlayerItems/v0001/?key=KEYHERE&format=FORMAT&SteamID=STEAMID
where
APPID = the game ID (TF2 is 440 CS:GO is 730 or something); you can find this on google or steam
KEYHERE = your steam API key (get it here
http://steamcommunity.com/dev/apikey)
FORMAT = format in which you want your data to be returned in. "xml" for XML, "json" for JSON, and I THINK "vdf" works for keyvalues (but I never tried vdf).
STEAMID = The 64-bit (yes, 64-bit) steam ID of the player's backpack you want to inspect
So for my case it was
PHP Code:
http://api.steampowered.com/IEconItems_440/GetPlayerItems/v0001/?key=KEYHERE&format=xml&SteamID=76561198085780232
(with "KEYHERE" replaced by my API key)
As for 64-bit steam IDs, if you have steam 2 or steam 3 IDs, you can convert them to 64 bit.
For steam 2:
STEAM_X:Y:Z ----> 2*Z + Y + 76561197960265728
So in my case with STEAM_0:0:62757252, X = 0, Y = 0, Z = 62757252, so my 64-bit is 76561198085780232.
For steam 3:
For some steam 3 ID in the form of U:1:A, if A is an odd number, X = (A - 1)/2, Y = 1. If A is an even number, X = A/2, Y = 0. Then the 64-bit ID can be found by using the same equation above as the steam 2 ID (note: this is how you convert steam 3 to steam 2, although I don't think this is entirely correct but it correlates well).\
This PDF I found is useful for turning the 64-bit ID to steam 2 ID (which can then be turned to steam 3 ID):
PDF:
http://www.martinpace.com/downloads/...ommunityID.pdf
Converting steam 2 to 3:
http://forums.steampowered.com/forum...52&postcount=4