steamapi

package
v0.0.0-...-594f820 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	Name                     string
	AppID                    uint
	Playtime                 uint   `json:"playtime_forever"`
	LogoImageFilename        string `json:"img_logo_url"`
	IconImageFilename        string `json:"img_icon_url"`
	HasCommunityVisibleStats bool   `json:"has_community_visible_stats"`
}

func (*Game) LogoURL

func (g *Game) LogoURL() string

type GetOwnedGamesResponse

type GetOwnedGamesResponse struct {
	Response struct {
		GameCount uint `json:"game_count"`
		Games     []Game
	}
}

func GetOwnedGames

func GetOwnedGames(steamID string) (*GetOwnedGamesResponse, error)

type ResolveVanityURLResponse

type ResolveVanityURLResponse struct {
	Response struct {
		SteamID string `json:"steamid"`
		Success uint
	}
}

func ResolveVanityURL

func ResolveVanityURL(steamName string) (*ResolveVanityURLResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL