Use as shell command
To use steamleaderboards, first install it:
# Using pipx
pipx install steamleaderboards
Then, you can use it to retrieve leaderboards for one or more Steam games via the terminal:
steamleaderboards --output_dir="./data" 440
This will download all leaderboards for Team Fortress 2, the game with the app id 440, to the ./data directory.
App ids for games can be found via SteamDB.