Suxoran

Results 5 comments of Suxoran

You must specify the path to the file steam_guard.json. If the file is in the project folder, then use: `steam_client.login('login', 'password', 'steam_guard.json')`

If you are submitting a proposal, use steam_client._confirm_transaction(tradeofferid)

If you are trying to confirm a RECEIVED trade, then using steam_client.accept_trade_offer(tradeofferid) was correct. Since you are using: https://api.steampowered.com/IEconService/GetTradeOffers/v1/?key={API_KEY}&get_received_offers=1 Usage steam_client._confirm_transaction(tradeofferid) follows when using: https://api.steampowered.com/IEconService/GetTradeOffers/v1/?key={API_KEY}&get_sent_offers=1 To get only active offers...

Hello! I'm not a programmer, but this works: def friend_add(self, steamid: str) -> dict: url = 'https://steamcommunity.com/actions/AddFriendAjax' data = f"sessionID={self._get_session_id()}&steamid={steamid}&accept_invite=0" headers = { "Host": "steamcommunity.com", "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux...

This feature works for me, this is how I added this method to client.py. You can send the response received from this function.