Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 4.14 KB

README.md

File metadata and controls

91 lines (68 loc) · 4.14 KB

Sirh3e.Steamer

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.

Status

Type Service Status
.NET Core Github Action .NET Core
.NET Format Github Action .NET Format
Maintainability CODE CLIMATE Maintainability
Code Quality CodeFactor CodeFactor

License

BSD-3-Clause

Quick start

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

Nuget

dotnet add package Sirh3e.Steamer --version 0.1.0

Interfaces

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

Semantic Versioning

Sirh3e.Steamer project strictly adhere to a semantic versioning scheme.

Becoming Active in Sirh3e.Steamer development

New contributors are always welcome and I am happy to provide guidance if necessary.

Authors

See also the list of contributors who participated in this project.