Steam game leaderboard updates in Discord
My steam game has a leaderboard. No one is playing yet but I hope they will. As a way to promote community for the game I thought it would be cool to get leaderboard updates in official discord community for the game. Here’s how I did it. For this method to work you need to have access to Steamworks Admin page for the game. TLDR Create a Discord Webhook (official doc) Get a Publisher key with General key permissions for Steam Web API (official doc, scroll to the very end). Make sure to create a Publisher Key, not a User key. Get your AppID for your Steam game — the best place is the Steamworks admin page Use ISteamLeaderboards interface of the Steam Web API with the Publisher key (official docs). You need GetLeaderboardsForGame to get the leaderboardid and GetLeaderboardEntries to fetch entries. You can test requests with the Steam Web API reference by xPaw. For hosting, I chose GitLab CI scheduled pipeline, because of its generous free tier. ...