Jump to content
McKay Development

Recommended Posts

Posted (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 by Akaz
Posted

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

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...