steam

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Steam

type Steam struct {
	*StoreAPI
	*WebAPI
}

func NewSteam

func NewSteam(c *colly.Collector, config *conf.Porter_Data) (*Steam, error)

func (*Steam) FeatureEnabled added in v0.1.0

func (s *Steam) FeatureEnabled() bool

type StoreAPI

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

func NewStoreAPI

func NewStoreAPI(c *colly.Collector) (*StoreAPI, error)

func (*StoreAPI) Get

func (s *StoreAPI) Get(ctx context.Context, path string, query url.Values, data interface{}) error

func (*StoreAPI) GetAppDetails

func (s *StoreAPI) GetAppDetails(
	ctx context.Context,
	req model.GetAppDetailsRequest,
) (map[string]model.AppDetailsBasic, error)

type WebAPI

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

func NewWebAPI

func NewWebAPI(c *colly.Collector, config *conf.Porter_Data_Steam) (*WebAPI, error)

func (*WebAPI) Get

func (s *WebAPI) Get(ctx context.Context, path string, query url.Values, data interface{}) error

func (*WebAPI) GetOwnedGames

func (s *WebAPI) GetOwnedGames(ctx context.Context, req model.GetOwnedGamesRequest) (*model.OwnedGames, error)

func (*WebAPI) GetPlayerSummary

func (s *WebAPI) GetPlayerSummary(
	ctx context.Context,
	req model.GetPlayerSummariesRequest,
) (*model.PlayerSummary, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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