A wrapper for the Steam Leaderboards

steamleaderboards

A package designed to help developers access the leaderboards of various Steam games.

It was created with the Isaac Daily Run scoreboards in mind, but it can be used for other games as well.

Usage

To use steamleaderboards, first create a LeaderboardGroup for the desired game.

import steamleaderboards as sl


Once you have created the LeaderboardGroup, you can retrieve the desired leaderboards by using the LeaderboardGroup.get method.
You can specify the name, the display name or the id of the leaderboard to retrieve.

leaderboard_a = lbgroup.get(name=LEADERBOARD_NAME)


When you have the Leaderboard object, you can find all the entries in the Leaderboard.entries field, or you can search for a specific one through the Leaderboard.find_entry method.

all_scores = leaderboard_a.entries


Project details

Uploaded source
Uploaded py3