steamapi

package
v0.0.0-...-6fa8ed0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetUserSummaryPlayer

type GetUserSummaryPlayer struct {
	SteamId    string `json:"steamid"`
	Name       string `json:"personaname"`
	ProfileUrl string `json:"profileurl"`
	Avatar     string `json:"avatar"`
}

type GetUserSummaryResponse

type GetUserSummaryResponse struct {
	Response *GetUserSummaryResponseResponse `json:"response"`
}

type GetUserSummaryResponseResponse

type GetUserSummaryResponseResponse struct {
	Players []GetUserSummaryPlayer `json:"players"`
}

type SteamApiUserService

type SteamApiUserService struct {
	// contains filtered or unexported fields
}

func NewSteamApiUserService

func NewSteamApiUserService(apiKey string) *SteamApiUserService

func (*SteamApiUserService) GetUserSummary

func (s *SteamApiUserService) GetUserSummary(steamIds []string) ([]GetUserSummaryPlayer, error)

type SteamUser

type SteamUser struct {
	AuthId     string
	ProfileUrl *string
	Avatar     *string
}

Jump to

Keyboard shortcuts

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