Skip to content

Commit

Permalink
/v3/highscoredata
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Sep 1, 2024
1 parent b32d61b commit d971a08
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 61 deletions.
4 changes: 2 additions & 2 deletions api/cogs/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def get_player_data(label_id: int, limit: int = 5000):


async def get_hiscore_data(label_id: int, limit: int = 5000):
url = f"{config.private_api}/v2/highscore/latest"
url = f"{config.private_api}/v3/highscore/latest"
params = {"player_id": 1, "label_id": label_id, "many": 1, "limit": limit}

# Initialize a list to store hiscore data
Expand All @@ -123,7 +123,7 @@ async def get_hiscore_data(label_id: int, limit: int = 5000):


async def get_prediction_data(player_id: int = 0, limit: int = 0):
url = f"{config.private_api}/v2/highscore/latest"
url = f"{config.private_api}/v3/highscore/latest"
params = {"player_id": player_id, "many": 1, "limit": limit}

data = await retry_request(url=url, params=params)
Expand Down
37 changes: 0 additions & 37 deletions deployment/bd-ml-deployment.yml

This file was deleted.

12 changes: 0 additions & 12 deletions deployment/bd-ml-scaler.yml

This file was deleted.

10 changes: 0 additions & 10 deletions deployment/bd-ml-service.yml

This file was deleted.

0 comments on commit d971a08

Please sign in to comment.