我想知道是否有人知道如何通过Java从Steam社区市场购买物品。我假设我还需要帮助使用Steam登录信息验证购买。
市场上没有API,但有些人正在屏幕抓取HTML或获取JSON
Get the price of an item on Steam Community Market with PHP and Regex
您也可以使用http客户端在Java中执行此操作。
这就是我得到的; 商品价格 https://steamcommunity.com/market/priceoverview/?appid=753¤cy=21&market_hash_name=286570-ToroRosso%Card 采购 https://steamcommunity.com/market/createbuyorder/
POST;
sessionid: ****
currency: 21
appid: 753
market_hash_name: 286570-ToroRosso Card
price_total: 4
quantity: 1
因此,如果你可以得到一个会话ID并填写其余的你的排序:p抱歉花了3年xD