关于steam 平台交易api 10C

有谁使用steam api 发送过一个交易报价吗?

 private static string sentItems(string sessionID, string items, string[] Offer)
        {
            return Http.SteamWebRequest(cookiesContainer,
                 "tradeoffer/new/send",
                 "sessionid=" + sessionID +
                 "&partner=" + Offer[0] +
                 "&tradeoffermessage=&json_tradeoffer=%7B%22newversion%22%3Atrue%2C%22version%22%3A2%2C%22me%22%3A%7B%22assets%22%3A%5B" + items +
                 "%5D%2C%22currency%22%3A%5B%5D%2C%22ready%22%3Afalse%7D%2C%22them%22%3A%7B%22assets%22%3A%5B%5D%2C%22currency%22%3A%5B%5D%2C%22ready%22%3Afalse%7D%7D&trade_offer_create_params=%7B%22trade_offer_access_token%22%3A%22" + Offer[2] + "%22%7D",
                 "tradeoffer/new/?partner=" + Offer[1] + "&token=" + Offer[2]);
        }

这是别人用c#写的一个交易请求,但是我不明白里面参数代表的具体意思,这是完整
url:http://steamcommunity.com/tradeoffer/new/send/,有谁能提供帮助吗?非常感谢!

1个回答

没有文档只能猜测。
tradeoffer交易请求
sessionID回话id
partner合作伙伴
currency货币
assets资产
trade_offer_create_params交易请求创建参数
...

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐