Documentation ¶
Index ¶
- type Box
- func (b *Box) GetGist(ctx context.Context, id string) (*github.Gist, error)
- func (b *Box) GetPlayTime(ctx context.Context, steamID uint64, multiLined bool, appID ...uint32) ([]string, error)
- func (b *Box) GetRecentGames(ctx context.Context, steamID uint64, multiLined bool) ([]string, error)
- func (b *Box) UpdateGist(ctx context.Context, id string, gist *github.Gist) error
- func (b *Box) UpdateMarkdown(ctx context.Context, title, filename string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct {
// contains filtered or unexported fields
}
Box defines the steam box.
func (*Box) GetPlayTime ¶
func (b *Box) GetPlayTime(ctx context.Context, steamID uint64, multiLined bool, appID ...uint32) ([]string, error)
GetPlayTime gets the top 5 Steam games played in descending order from the Steam API.
func (*Box) GetRecentGames ¶
func (b *Box) GetRecentGames(ctx context.Context, steamID uint64, multiLined bool) ([]string, error)
GetRecentGames gets 5 recently played games from the Steam API.
func (*Box) UpdateGist ¶
UpdateGist updates the gist.
Click to show internal directories.
Click to hide internal directories.