What do you want to see in the API?
GET /player returns an object that contains information specific for the profile page.
These information are:
- Date when the account was created
- This should obviously be saved when the account is created
- Put some default value for the profile that have already been created.
- Favourite defense class
- Meaning the class that the player has used the most.
- Also how many games player has played with the class and how many games they have won.
- Likely requires tracking of every class separately.
- Favourite defence character
- Player playstyle
- Enums (not yet fully determined)
- Carbon footprint
- This likely also requires a separate endpoint that allows game to send the footprint.
- Amount of coins the player has accumulated for the clan.
Any additional info?
This is how the current design plan for the client side player profile looks like
