clapfoot / warapi

The War API allows developers to query information about the state of the current Foxhole war.
Other
127 stars 10 forks source link

FR: Request faction of user #73

Open attrib opened 4 years ago

attrib commented 4 years ago

Add additional api endpoint to get the faction of a user.

Providing a steam user (maybe id) retrieve the faction the user currently belongs to.

Use case: Automatic verification of users for Discord or other third party websites.

e.g. we could write a discord bot automatically assigning the role warden / colonials to each user, if they linked their steam profile. In this way its easier to make sure only the right ppl have access to confidential information.

As each war the user can decide which faction he chooses its easily possible ppl are assigned to the wrong faction and get confidential information. This API would help to quickly verify that the user only sees information she would see.

More useful information could be returned here too, e.g.

philipdiehl1 commented 4 years ago

This would be pretty cool.

MicrowaveJak commented 3 years ago

Seconded, this would be extremely useful for encouraging players to coordinate outside of the game

samuelds commented 3 years ago

I have an idea for a tool, but for that I need this information.

muloneweb commented 2 years ago

Bumping this up. Clans being able to check and moderate their members is the way to deal with spies. At the very least what we need is to know which faction the user is locked in.

ndmnetwork commented 1 year ago

Im not going to lie expanding the API would be a massive win.

it doesnt even need to provide locations or anything, just regiment, current faction, last seen - roles for last 3 wars... like seriously game changing

444B commented 9 months ago

following

bjstarosta commented 9 months ago

Bumping as desirable feature. I am a bot developer for a large Foxhole Discord, and this would simplify role assignment massively.

Additionally to the features proposed in the OP: