Replies: 1 comment 1 reply
-
You don't need to be playing the game. I'm guessing the name on steamcommunity is not the actual name of the leaderboard. Never seen a name with spaces. Alternatively, you can instantiate the from steam.client.builtins.leaderboards import SteamLeaderboard
lb = SteamLeaderboard(client, 440, 'Top Supporters of Byre')
lb.id = 921626
lb.entry_count = 100
Out[13]: lb[:10]
Out[13]:
[steam_id_user: 76561197960265749
global_rank: 1
score: 84
ugc_id: 18446744073709551615, steam_id_user: 76561197960706115
global_rank: 2
score: 60
ugc_id: 18446744073709551615, steam_id_user: 76561198026734458
global_rank: 3
score: 57
ugc_id: 18446744073709551615, steam_id_user: 76561198047106734
global_rank: 4
score: 26
... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Fetching the leaderboard should be possible from the leaderboard's name (https://steamcommunity.com/stats/TF2/leaderboards/921626) but I can't actually find any examples of this anywhere on GitHub. Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions