Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Support alternative leaderboard services #352

Closed
ErisApps opened this issue Mar 27, 2022 · 7 comments
Closed

Support alternative leaderboard services #352

ErisApps opened this issue Mar 27, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@ErisApps
Copy link
Owner

ErisApps commented Mar 27, 2022

Basically what the title implies, support services other than ScoreSaber so that people who don't wanna use ScoreSaber don't have to...
This includes, but not exhaustive

  • AccSaber
  • BeatLeader
  • Hitbloq
  • (Other custom leaderboard services...)

Will require some rework in how the current commands work, maybe completely switch over to slash commands and use command groups instead? (See #177 and #257)

@ErisApps ErisApps added the enhancement New feature or request label Mar 27, 2022
@ErisApps
Copy link
Owner Author

ErisApps commented Mar 27, 2022

AccSaber endpoints:
https://api.accsaber.com/categories - Returns the categories they have
https://api.accsaber.com/categories/{categoryName}/standings - Category standings
https://api.accsaber.com/ranked-maps - All Ranked Maps
https://api.accsaber.com/ranked-maps/{leaderboardId} - Returns a specific leaderboard - also works by hash (ScoreSaber leaderboard ID)
https://api.accsaber.com/players/{playerId} - Returns a specific player (steam or oculus ID)

@ErisApps
Copy link
Owner Author

BeatLeader endpoints:
Needs some more digging into the repo. (https://github.com/BeatLeader/beatleader-server/tree/master/Controllers)

@ErisApps
Copy link
Owner Author

ErisApps commented Mar 27, 2022

Hitbloq endpoints:
Needs some more digging into the repo. (https://github.com/DaFluffyPotato/hitbloq/blob/main/main.py)

@raineaeternal
Copy link

Regarding AccSaber endpoints. Please add a User Agent, so we can know who or what requested the info.

@ErisApps
Copy link
Owner Author

ErisApps commented Apr 4, 2022

The usual format that I use for our lovely bot is POINext/{Version}. I hope that's fine for you?
Eg: https://github.com/ErisApps/POI/blob/main/POI.Core/Services/ScoreSaberApiService.cs#L52-L58

@raineaeternal
Copy link

Yep, that is all good. Thanks! ^^

@ErisApps
Copy link
Owner Author

This issue will be closed in favor of tickets #445, #446, #447.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants