Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 783 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 783 Bytes

Narochno.Steam Build status NuGet

A simple Steam client, providing a C# wrapper around the default Steam web API.

Example Usage

var client = new ServiceCollection()
	.AddSteam(new SteamConfig())
	.BuildServiceProvider()
	.GetService<ISteamClient>();

var news = await client.GetNews(new GetNewsRequest(582890));
Console.WriteLine("News for app {0}", news.AppNews.AppId);

foreach (var item in news.AppNews.NewsItems)
{
	Console.WriteLine("{0} by {1}", item.Title, item.Author);
}