Hello all,
I've raised this topic for discussion in the API Development forum. It seems to have some broad approval, and it was suggested that it be raised here to get some more eyes.
At the moment, API keys are tied to users. This is fine if all you're doing is working with user data, but when it comes to factions, this gets tricky.
I would like to suggest that a new API key be made available, one that is tied to factions and not users. We currently have two primary problems:
- When a user leaves a faction, any API keys in use by that user to retrieve faction data either stops working if the user is clever enough to drop the API key, or what usually happens, the API key will start erroring or returning data for a different faction the user has joined. Usually happens when the user goes guesting etc.
- When a user is absent for a long time, the keys associated with that user are disabled when the user goes dormant.
By using faction keys we gain the following:
- Users do not require API permissions to access faction data.
- Faction keys should be tunable in the same way that user keys are currently tunable to only allow specific fields as required.
- If a user leaves or goes dormant, this has no effect on any API integrations.
I'm hoping this makes sense.
Mentions: API Faction keys