Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessOwnedGames ¶
func ProcessOwnedGames(games []SteamOwnedGame) error
For adding any additional processing/formatting to the owned games data
Types ¶
type SteamOwnedGame ¶
type SteamOwnedGame struct {
AppId int `json:"appid"`
Name string `json:"name"`
PlaytimeForever float64 `json:"playtime_forever"`
ImgIconUrl string `json:"img_icon_url"`
PlaytimeWindowsForever float64 `json:"playtime_windows_forever"`
PlaytimeMacForever float64 `json:"playtime_mac_forever"`
PlaytimeLinuxForever float64 `json:"playtime_linux_forever"`
PlaytimeDeckForever float64 `json:"playtime_deck_forever"`
RTimeLastPlayed int64 `json:"rtime_last_played"`
FormattedTimeLastPlayed string
}
func GetSteamDeckTop50Games ¶
func GetSteamDeckTop50Games(steamId string) ([]SteamOwnedGame, error)
func GetSteamDeckTop50Wrapper ¶
func GetSteamDeckTop50Wrapper(steamId string) []SteamOwnedGame
func GetSteamOwnedGames ¶
func GetSteamOwnedGames(steamId string) ([]SteamOwnedGame, error)
type SteamOwnedGamesResponse ¶
type SteamOwnedGamesResponse struct {
Response struct {
GamesCount int
Games []SteamOwnedGame
}
}
Click to show internal directories.
Click to hide internal directories.