fetch

package
v0.0.0-...-e9a2133 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(app *types.App, cc string) error

All fetches all of the app's prices and info

func AllRegions

func AllRegions(app *types.App) error

AllRegions works the same as All, but fetches everything for all regions.

func AppInfo

func AppInfo(appid int) ([]string, int)

AppInfo fetches the tags and review score of an app (generically named because we may fetch more from AppInfo soon)

func Fanatical

func Fanatical(app *types.App, cc string) error

Fanatical searches and updates apps from Fanatical

func HTTPGet

func HTTPGet(rurl string) ([]byte, error)

HTTPGet fetches a document using HTTP and returns the bytes of the file if found, or an error, if any

func Humble

func Humble(app *types.App, cc string) error

Humble fetches an app's prices from Humble and will update the passed App

func PostDiscord

func PostDiscord(AppID int) error

PostDiscord submits an app to LU_POST_APPROVAL

func PostDiscordPreapprove

func PostDiscordPreapprove(AppID int, recommendation string) error

PostDiscordPreapprove posts a pre-approval message to LU_POST_PREAPPROVAL

func Steam

func Steam(app *types.App, cc string) error

Steam fetches an app's information from Steam and will update the passed App

func SteamAppList

func SteamAppList() (map[string]types.SteamGame, error)

SteamAppList fetches the SteamAppList

Types

This section is empty.

Jump to

Keyboard shortcuts

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