BIG-Games-LLC / ps99-public-api-docs

43 stars 5 forks source link

Add an endpoint to get a player's clan (/userclan/userid) #83

Open AndreyOnDemand opened 1 week ago

AndreyOnDemand commented 1 week ago

At the moment, there is no (simple) way to get the data for what clan a user is currently in. This makes customizing a user's experience for a webpage or application tedious because it requires a user to confirm which clan they're currently in.

Adding an endpoint to view a user's clan data would help significantly and allow seamless personalization to create a view for a user's battle performance.

An example fetch could be: ps99.biggamesapi.io/api/userclan/992250

{ "status": "ok", "data": { "Clan": "GANG", "UserID": 992250, "PermissionLevel": 50, "JoinTime": 1726280457 } }

socutewhitebear commented 1 week ago

I'm also interested on this feature request