Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an API client that interacts with the Steam API.
func (*Client) GetOwnedGames ¶
GetOwnedGames fetches a Steam user's owned games.
type Option ¶
type Option func(*Client)
Option conigures a Steam client.
func WithHTTPClient ¶
WithHTTPClient sets a Steam client's underlying HTTP client.
type OwnedGame ¶
type OwnedGame struct { AppID int `json:"appid"` Playtime2Weeks int `json:"playtime_2weeks"` PlaytimeForever int `json:"playtime_forever"` }
OwnedGame represents a game a Steam user owns.
type OwnedGames ¶
OwnedGames represents the list of games a Steam user owns.
Click to show internal directories.
Click to hide internal directories.