Skip to content

nefarius/Nefarius.Steam.PartnerWebApi

Repository files navigation

Nefarius.Steam.PartnerWebApi

.NET Requirements Nuget Nuget

Steamworks Web API wrapper for .NET using Refit.

Important

This project is still evolving, so API-breaking changes might occur each update!

About

A thin dotnet wrapper library for the Steamworks Web API that will grow with the author's needs.

Covers the ISteamUser and ISteamUserAuth interfaces.

API Access

This API requires a special publisher web API key you can only obtain as a partner. This is not the same as the Steam Web API Key anyone with a Steam account can register. Do not expect this library to work with such a key.

Documentation

Link to API docs.

Example

using Nefarius.Steam.PartnerWebApi;
using Nefarius.Steam.PartnerWebApi.Models;

using Refit;

string apiKey = "get api key from config file";

ISteamUser steamApi = RestService.For<ISteamUser>("https://partner.steam-api.com");

AppOwnershipResponse ownership = await steamApi.CheckAppOwnership(apiKey, "76561198472918263", "482910");

bool ownsApp = ownership.AppOwnership.OwnsApp;

3rd party credits

About

Steamworks Web API wrapper for .NET using Refit.

Resources

License

Stars

3 stars

Watchers

2 watching

Forks

Contributors

Languages