Akaz Posted August 18 Report Posted August 18 (edited) Hi, accountLimitations works great for community ban and it's an event, but I've not found anything great to detect a trade ban on the account. getSteamGuardDetails seems fine but it must be called manually and is not specific to trade ban but to all trading restrictions. Edit: getSteamGuardDetails canTrade is true even when trade banned. Is there anything better to call? An endpoint maybe? Thanks! Edited August 18 by Akaz Quote
Akaz Posted August 18 Author Report Posted August 18 I'll use this Steam enpoint for now, but if there is a way to get the trade ban status through an event instead, I'll be happy to know it https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key=XXX&steamids=76561197960435530 Quote
Dr. McKay Posted August 19 Report Posted August 19 Using the GetPlayerBans endpoint is going to be your best bet. There's no event for it. Akaz 1 Quote
Akaz Posted August 19 Author Report Posted August 19 9 minutes ago, Dr. McKay said: Using the GetPlayerBans endpoint is going to be your best bet. There's no event for it. Thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.