Skip to content

0xF6/partner.steamgames

Repository files navigation

🧱 partner.steamgames 🧱

C# bindings for Steam Partner WebApi

Nuget

Usage

public class SampleClass 
{
    private readonly ISteamPartnerApi steamApi;
    public SampleClass(ISteamPartnerApi SteamApi) => this.steamApi = SteamApi;


    public async ValueTask CreateLobby(SteamId id)
    {
        await this.steamApi.Matchmaking.CreateLobby(32, ELobbyType.Public, "Test Name", new List<ulong> { steamId });
    }
}

// in DI configure


services.AddSteamPartnerApi();

in appsettings.json

{
  "Logging": { ... },
  },
  "Steam": {
    "PartnerApiKey": "Your Partner Api Key",
    "ClassicApiKey": "Your Steam Api Key",
    "AppId": 730,
    "ServerAppId": 740,
    "ApiEndpoint": "https://api.steampowered.com",
    "PartnerEndpoint": "https://partner.steam-api.com"
  }
}

Install

Install-Package partner.steamgames

🧬 Roadmap

Legend:

  • 📌 To Do
  • ⚡️ In Progress
  • ☣️ Partial Done
  • Done
Feature Status
IBroadcastService 📌
ICheatReportingService
ICloudService 📌
IEconMarketService 📌
IEconService 📌
IGameInventory 📌
IGameNotificationsService 📌
IGameServersService 📌
IInventoryService 📌
ILobbyMatchmakingService ☣️
IPlayerService 📌
IPublishedFileService 📌
ISiteLicenseService 📌
ISteamApps 📌
ISteamCommunity 📌
ISteamEconomy 📌
ISteamGameServerStats 📌
ISteamLeaderboards 📌
ISteamMicroTxn 📌
ISteamMicroTxnSandbox 📌
ISteamNews 📌
ISteamPublishedItemSearch 📌
ISteamPublishedItemVoting 📌
ISteamUserAuth ☣️
ISteamUser ☣️
ISteamUserStats 📌
ISteamWebAPIUtil 📌
IWorkshopService 📌