Sirh3e.Steamer is a .NET wrapper library for the Steam Web API. So you can use static types.
See interfaces for all available interfaces and methods.
Type | Service | Status |
---|---|---|
.NET Core | Github Action | |
.NET Format | Github Action | |
Maintainability | CODE CLIMATE | |
Code Quality | CodeFactor |
var steamUserName = "sirh3e";
var key = "YOUR API KEY"; //Create a api key: https://steamcommunity.com/dev/apikey keep it secure
var (service, client) = SteamerWebFactory.CreateByKey(key);
//OnErr where the throw new NotImplementedException is handle the error your self :D
var steamId = (await client.SteamUser.ResolveVanityUrl
.SetVanityUrl(steamUserName)
.Build()
.ExecuteAsync(service))
.Match(response => response.Model.Map(model => model.Response.SteamId).UnwrapOrDefault(), error => throw new NotImplementedException());
Else have a look at: examples
dotnet add package Sirh3e.Steamer --version 0.1.0
Currently implemented interfaces and methods:
- EconService
- CancelTradeOffer
- DeclineTradeOffer
- TradeHistory
- TradeOffer
- TradeOffers
- TradeOffersSummary
- PlayerService
- Badges
- CommunityBadgeProgress
- OwnedGames
- SteamLevel
- SteamApps
- AppList
- SteamUser
- FriendList
- PlayerBans
- PlayerSummaries
- ResolveVanityUrl
- UserGroupList
- SteamUserStats
- GlobalAchievementPercentagesForApp
- NumberOfCurrentPlayers
- PlayerAchievements
- SchemaForGame
- UserStatsForGame
Is a method or interface missing please create a issue
Sirh3e.Steamer project strictly adhere to a semantic versioning scheme.
New contributors are always welcome and I am happy to provide guidance if necessary.
- Plackpegasus - For the name Steamer - Plackpegasus
- SirCremefresh - For simplefining the examples - SirCremefresh
- Alexander Wyss - For finding a tipo - Alexander Wyss
- sirh3e - Initial work - sirh3e
See also the list of contributors who participated in this project.