Reputation: 41
I want to list all my trade history but I may do something wrong.
I call this IEconService/GetTradeHistory API
https://api.steampowered.com/IEconService/GetTradeHistory/v1/?key={{API Key}}&format=json&navigating_back=1&get_descriptions=1&include_failed=1&include_total=1
and this is what I got
{
"response": {
}
}
I have checked in the trade history from client interface, there are 2 as shown below:
I tried to call another API which is not about IEconService it works properly.
Ps.
Thanks you for reply.
Upvotes: 2
Views: 1008
Reputation: 41
After I go to bed and recheck my parameters again, I realize that I am missing some. It works now.
http://api.steampowered.com/IEconService/GetTradeHistory/v1?key={{key}}&language=en_us&format=json&max_trades=100&navigating_back=1&get_descriptions=0&include_failed=1&include_total=1
As you can see, I forgot max_trades and others that was cause of my problem.
Hope this help and sorry for my scatterbrain.
Upvotes: 2