還好吧,所以我一直在尋找這一切在互聯網上,什麼我發現是,當你想要得到某人的蒸汽盤點你這樣做蒸汽網絡API讓CS:GO庫存
http://api.steampowered.com/IEconItems_{appid}/GetPlayerItems/v0001/?key={apikey}&steamid={steamid}&format=json
但問題是,當我這樣做的CS:GO(appid:730)我只是得到一個空的迴應。即使用戶在他們的庫存中擁有一些東西。
還好吧,所以我一直在尋找這一切在互聯網上,什麼我發現是,當你想要得到某人的蒸汽盤點你這樣做蒸汽網絡API讓CS:GO庫存
http://api.steampowered.com/IEconItems_{appid}/GetPlayerItems/v0001/?key={apikey}&steamid={steamid}&format=json
但問題是,當我這樣做的CS:GO(appid:730)我只是得到一個空的迴應。即使用戶在他們的庫存中擁有一些東西。
,如果你想獲得JSON只需要使用以下鏈接之一:
一般蒸汽盤點:(1:遊戲,3:優惠券,6:交易卡,7:獎勵)
http://steamcommunity.com/id/<USERURL>/inventory/json/753/1
http://steamcommunity.com/profiles/<STEAMID>/inventory/json/753/1
http://steamcommunity.com/id/<USERURL>/inventory/json/753/3
http://steamcommunity.com/profiles/<STEAMID>/inventory/json/753/3
http://steamcommunity.com/id/<USERURL>/inventory/json/753/6
http://steamcommunity.com/profiles/<STEAMID>/inventory/json/753/6
http://steamcommunity.com/id/<USERURL>/inventory/json/753/7
http://steamcommunity.com/profiles/<STEAMID>/inventory/json/753/7
遊戲:
http://steamcommunity.com/id/<USERURL>/inventory/json/<APPID>/2
http://steamcommunity.com/profiles/<STEAMID>/inventory/json/<APPID>/2
問題不是反恐精英的appid, 你只是用一箇舊的鏈接,僅適用於一般的蒸汽庫存。 我建議你使用鏈接使用STEAMID,因爲不是每個steamuser都設置了一個customurl。
聽起來像一個錯誤然後,可能想聯繫蒸汽? – Nanne 2014-09-22 15:30:19
有點也是我的想法,但不知道如果這是我做錯了 – 2014-09-22 15:34:53
但是,如果我再去這裏登錄,他們可以閱讀我的清單http://csgolounge.com/match?m= 1483 – 2014-09-22 15:46:16