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

V2: API #5

Closed
samdking opened this issue Jun 11, 2018 · 3 comments
Closed

V2: API #5

samdking opened this issue Jun 11, 2018 · 3 comments
Projects

Comments

@samdking
Copy link
Owner

The current site (V1) is going to be replaced via a Javascript frontend, designed and built by @davshoward (with help from me where necessary). The backend is going to replaced with an API with at least the functionality which the current site offers. Namely:

  • Leaderboards (by year and all time)
  • Matches
  • Player overall stats
  • Player teammate stats
  • Player opponent stats
  • Player with/against ratios

The API will be developed to offer the following data, as a starting point:

  • More sophisticated leaderboards
  • Streaks/records
  • Combinations
  • Configurable teammate/opponent stats
  • Attendance stats

The frontend could offer the following enhancements:

  • Visual graphs
  • Dynamic sorting/filtering of tables
  • Subtle animations

The aim of this change is to gift the site a facelift, make it more easily editable (by more people), and add a more dynamic interface; in addition to offering more information.

Please respond with additional suggestions for enhancements to the new front end or API.

@samdking
Copy link
Owner Author

Combinations Spec

/api/combinations
/api/combinations?from=2018-01-01
/api/combinations?any=5,4,3,56,23
/api/combinations?all=1,4,8
/api/combinations?minSize=4&maxSize=5
/api/combinations?minMatches=5
/api/combinations?minMatches=5&order=[wins|games|losses]

@samdking
Copy link
Owner Author

Achievements

  • League finishes by year (1-4)
  • Overall appearances (25, 50, 100, 150)
  • Appearance streaks
  • Wins (10, 25, 50, 100)

@samdking
Copy link
Owner Author

samdking commented Aug 8, 2018

Will merge this in shortly: #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
V2
Awaiting triage
Development

No branches or pull requests

1 participant