-
Notifications
You must be signed in to change notification settings - Fork 1
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
Individual player end point #27
Conversation
samdking
commented
Mar 5, 2020
•
edited
Loading
edited
- Add yearly ranking
- Add streaks
- Add streaks by year
- Add results
Finally addressing #14. |
This is good to go I think @davshoward. Will provide an example of the structure before putting live, but essentially - in addition to the standard played/won/draw/lost/points/gd, etc. properties, the single player endpoint returns:
Results is similar to what /matches and /seasons endpoints return, except they're int he context of the player, so instead of All of the above will respond to the standard "since", "last", "year", "from" and "to" date query-string filters, if a more selective result-set is required. |
@davshoward Wow I can't believe the last time I worked on this was before lockdown. Example JSON:
|