// Accepts an API key as a parameter
// Alternatively, you can set the API key via the `STEAM_API_KEY` environment variable
client = steamwebapi.NewClient("")
Using the newly constructed client, call methods via its respective service (DOTA2 and DOTA2Matches):
// Returns information about a particular match.
client.DOTA2Matches.GetMatchDetails(matchId)
// Returns a list of heroes within Dota 2.
client.DOTA2.GetHeroes()
// Returns the current prize pool for specific tournaments.
client.DOTA2.GetTournamentPrizePool(leagueId)
View the GoDoc, examples or code for more information (i.e. available services / methods).