{"id":19883367,"url":"https://github.com/steffo99/steamleaderboards","last_synced_at":"2026-03-10T05:30:53.744Z","repository":{"id":57471341,"uuid":"169302693","full_name":"Steffo99/steamleaderboards","owner":"Steffo99","description":"A Python wrapper for the Steam Leaderboards","archived":false,"fork":false,"pushed_at":"2024-07-06T02:07:30.000Z","size":65,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T12:53:16.035Z","etag":null,"topics":["leaderboards","python","steam","xml"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/steamleaderboards/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Steffo99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"steffo"}},"created_at":"2019-02-05T19:52:40.000Z","updated_at":"2024-05-27T15:11:36.000Z","dependencies_parsed_at":"2024-11-12T17:33:28.751Z","dependency_job_id":null,"html_url":"https://github.com/Steffo99/steamleaderboards","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"ea69d6c55f6ca8045d5561b6265cc83e51a16b31"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Steffo99%2Fsteamleaderboards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Steffo99%2Fsteamleaderboards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Steffo99%2Fsteamleaderboards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Steffo99%2Fsteamleaderboards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Steffo99","download_url":"https://codeload.github.com/Steffo99/steamleaderboards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242060657,"owners_count":20065574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["leaderboards","python","steam","xml"],"created_at":"2024-11-12T17:20:01.821Z","updated_at":"2026-03-10T05:30:53.682Z","avatar_url":"https://github.com/Steffo99.png","language":"Python","funding_links":["https://ko-fi.com/steffo"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n![](.media/icon-128x128_round.png)\n\n# `steamleaderboards`\n\nRetrieve and parse Steam leaderboards\n\n\u003c/div\u003e\n\n## Links\n\n[![PyPI](https://img.shields.io/pypi/v/steamleaderboards)](https://pypi.org/project/steamleaderboards)\n\n## History\n\nIt was created with the Isaac Daily Run scoreboards in mind, but it can be used for other games that have a public leaderboard as well.\n\n## Usage\n\n### In code\n\nTo use `steamleaderboards`, first install it via PyPI:\n\n```console\n$ # If you're using pip in a venv on \n$ .venv/bin/pip install steamleaderboards --upgrade\n```\n\n```console\n$ # If you're using poetry \n$ poetry add steamleaderboards\n```\n\nThen, create a `LeaderboardGroup` for the desired game.\n\n```python\nimport steamleaderboards as sl\nlbgroup = sl.LeaderboardGroup(STEAM_APP_ID)\n```\n\nOnce you have created the `LeaderboardGroup`, you can retrieve the desired leaderboards by using the `LeaderboardGroup.get` method.  \nYou can specify the name, the display name or the id of the leaderboard to retrieve.\n\n```python\nleaderboard_a = lbgroup.get(name=LEADERBOARD_NAME)\nleaderboard_b = lbgroup.get(lbid=LEADERBOARD_ID)\nleaderboard_c = lbgroup.get(display_name=LEADERBOARD_DISPLAY_NAME)\n```\n\nWhen 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.\n\n```python\nall_scores = leaderboard_a.entries\nmy_score = leaderboard_a.find_entry(MY_STEAMID_1)\nfirst_place_score = leaderboard_a.find_entry(rank=1)\nlast_place_score = leaderboard_a.find_entry(rank=-1)\n```\n\n### In the terminal\n\nTo use `steamleaderboards`, first install it via PyPI:\n\n```console\n$ # Using pipx\n$ pipx install steamleaderboards\n```\n\nThen, you can use it to retrieve leaderboards for one or more Steam games via the terminal:\n\n```console\n$ steamleaderboards --output_dir=\"./data\" 440\n```\n\nThis will download all leaderboards for Team Fortress 2, the game with the app id `440`, to the `./data` directory.\n\nApp ids for games can be found via [SteamDB](https://steamdb.info/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteffo99%2Fsteamleaderboards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteffo99%2Fsteamleaderboards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteffo99%2Fsteamleaderboards/lists"}