Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GetGames for a specific player #60

Open
joshprzybyszewski opened this issue Jun 8, 2020 · 0 comments
Open

Implement GetGames for a specific player #60

joshprzybyszewski opened this issue Jun 8, 2020 · 0 comments

Comments

@joshprzybyszewski
Copy link
Owner

Rather than returning all of the games a player has ever played on the "get player" response, we should provide separate REST calls for "getting games".

  1. GET ActiveGames(playerID) []network.Game
  2. GET CompletedGames(playerID) []network.Game
  3. GET GamesAgainst(myID, opponentID playerID) []network.Game
  4. GET GamesIncluding(myID, otherPlayerID playerID) []network.Game
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant