Add new history-from-given-player API

This commit is contained in:
Smaug123
2018-02-24 20:54:27 +00:00
parent 789bfd45fa
commit 96a40c7172
4 changed files with 40 additions and 14 deletions

5
README
View File

@@ -65,6 +65,11 @@ Returns a list of the indices of the matching cards in that player's hand.
Retrieve the complete history of the specified game, output as a list of
string descriptions.
## `/history/<game>/<player>`
### GET
Retrieve the history of the specified game from the point of view of the given
player, output as a list of string descriptions.
# Future work ideas
* Make the data storage format version-aware.