Open armslave46 opened 9 months ago
Hello everyone! I can't create sell order.
Do someone know how to fix it? Am I doing something wrong?
Code: `
def autosell(items, steam_client, game): key_list = list(items.keys()) with open('Item_name_Steam_ID.json', 'rb') as f: item_id_data = json.load(f) for i in key_list: item = items[i] marketable = item['marketable'] if marketable == 1: market_hash_name = item['market_hash_name'] id_url = item_id_data[market_hash_name] id = item['id'] url = f'https://steamcommunity.com/market/itemordershistogram?country=KZ&language=english¤cy=37&item_nameid={id_url}&two_factor=0' response = requests.get(url=url, headers=FakeHttpHeader().as_header_dict()).json() price = response["highest_buy_order"] sell_response = steam_client.market.create_sell_order(id, game, price) print(sell_response) time.sleep(3) else: continue def initSteam(): steam_client = auth() game_dota2 = GameOptions.DOTA2 my_items = steam_client.get_my_inventory(game_dota2) autosell(my_items, steam_client, game_dota2) if __name__ == "__main__": initSteam()
`
Output: {'success': False, 'message': 'Session mismatch'}
give "auth()"
How you fix it?
Hello everyone! I can't create sell order.
Do someone know how to fix it? Am I doing something wrong?
Code: `
`
Output: {'success': False, 'message': 'Session mismatch'}