Open Anunah9 opened 1 year ago
@Anunah9 Hello You received error 'Срок действия страницы истек, обновите текущую страницу' I think authorization work correctly, but need understand how to work sell orders. You can see in browser dev tools which params send this api. Maybe some additional keys are generated there? I have it in plans
And try to send params as dict, not str
params = {
"game": "csgo",
"assets":[
{
"game": "csgo",
"market_hash_name": "Snakebite Case",
"contextid": 2,
"assetid": "30175988177",
"classid": "4418618853",
"instanceid": "0",
"goods_id": 857515,
"price": 10,
"income": 9.75,
"has_market_min_price": False,
"cdkey_id": ""
}
]
}
response = await buff.request(url, method='POST', json=params)
you need to provide lot more information in headers
I try to create sell order. I log in to the site as in the example. .is_alive_session() specifies true. But when I try to create request, I get the error:
Code for creating a request for sale: