ByteDev.Steam 1.1.0

dotnet add package ByteDev.Steam --version 1.1.0
                    
NuGet\Install-Package ByteDev.Steam -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ByteDev.Steam" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ByteDev.Steam" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="ByteDev.Steam" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ByteDev.Steam --version 1.1.0
                    
#r "nuget: ByteDev.Steam, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ByteDev.Steam@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ByteDev.Steam&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=ByteDev.Steam&version=1.1.0
                    
Install as a Cake Tool

Build status NuGet Package License: MIT

ByteDev.Steam

SDK for communicating with the Steam APIs.

Installation

ByteDev.Steam is hosted as a package on nuget.org. To install from the Package Manager Console in Visual Studio run:

Install-Package ByteDev.Steam

Further details can be found on the nuget page.

Release Notes

Releases follow semantic versioning.

Full details of the release notes can be viewed on GitHub.

Usage

API Key

A number of the API endpoints require that you have an API key.

To get a key goto: https://steamcommunity.com/dev/apikey.

You will require an existing account with Steam first to be able to then get a API key.

SteamApiClient

SteamApiClient provides client functionality to communicate with the Steam APIs.

Create a SteamApiClient and call the required method:

// Create an instance of HttpClient however you see fit
private static readonly HttpClient _httpClient = new ();

// ...

var config = new SteamApiClientConfig
{
	ApiKey = "YourApiKey",
	CacheAllAppsResponse = true
};

ISteamApiClient client = new SteamApiClient(_httpClient, config);

var response = await CreateSut().GetAllAppsAsync();

SteamApiClient - Methods

Steam Web API (api.steampowered.com):

  • GetUserAsync - Get user details for a specific user by their Steam ID.
  • GetUsersAsync - Get user details for a number of users.
  • GetUserFriendsAsync - Get friend details for a particular user.
  • GetPlayerBansAsync - Get ban info for a particular user.
  • GetAllAppsAsync - Get details (AppId and Name) of all apps (games) in the Steam library.
  • GetAppNewsAsync - Get news for a particular app.
  • GetRecentlyPlayedGamesAsync - Get recently played games for a particular user.
  • GetOwnedGamesAsync - Get games owned by a particular user.

Steam Store API (store.steampowered.com):

  • GetAppDetailsAsync - Get details for a particular app (game), including price overview.
  • GetAppReviewsAsync - Get reviews for a particular app (game).
  • GetFeaturedAppsAsync - Get featured apps (games) on the Steam Store.
  • SearchStoreAsync - Search the Steam Store for items (apps etc.) matching a search term.
  • GetPackageDetailsAsync - Get details for a particular package (collection of apps, DLC, etc.).

Terms

  • Steam ID (string) = unique ID to a Steam account or user.
  • App ID (int) = unique ID for an application/game on Steam. For example 10 for Counter Strike.
  • Package ID = collection of one or more games, DLC, or other content that can be purchased together as a single unit

Further Info

ISteamStoreService is now depreciated by Steam.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 483 7/23/2025
1.0.0 481 7/23/2025