Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { AppID int Name string Prices *AppPrices RecommendedAt int64 Developers []string Publishers []string LastUpdate int64 Description string Genres []string ReleaseYear int Screenshot string IsPending bool ReviewsPositive int ReviewsTotal int Demo bool Score float64 Review string Platforms struct { Windows bool MacOS bool Linux bool } HelpfulPositive int HelpfulTotal int }
App represents a Steam app
type AppInfo ¶
type AppInfo struct { Error string `json:"error"` Common struct { StoreTags []string `json:"store_tags"` ReviewPercentage string `json:"review_percentage"` } `json:"common"` }
AppInfo represents a MicroAppInfo response
type AppPrice ¶
type AppPrice struct { Price uint64 `json:"price"` OriginalPrice uint64 `json:"original_price"` Discount uint `json:"discount"` URL string `json:"url"` }
AppPrice represents the price of an app
type AppPrices ¶
type AppPrices struct { Steam map[string]AppPrice Humble map[string]AppPrice Fanatical map[string]AppPrice GameBillet map[string]AppPrice }
AppPrices represents the prices of an app
type DiscordOutgoingWebhook ¶
type DiscordOutgoingWebhook struct { Content string `json:"content"` Username string `json:"username"` AvatarURL string `json:"avatar_url"` }
DiscordOutgoingWebhook represents an object we execute on a Discord web hook
type FanAlgoliaIncoming ¶
type FanAlgoliaIncoming struct { Hits []struct { ProductID string `json:"product_id"` SKU string `json:"sku"` Name string `json:"name"` Slug string `json:"slug"` FullPrice map[string]float32 `json:"fullPrice"` Presale bool `json:"presale"` Price map[string]float32 `json:"price"` DiscountPercent uint `json:"discount_percent"` } }
FanAlgoliaIncoming specifies the incoming request data structure
type FanAlgoliaOutgoing ¶
FanAlgoliaOutgoing specifies the outgoing request data structure
type HumbleSearch ¶
type HumbleSearch struct { NumResults uint `json:"num_results"` Query string `json:"search"` Pages uint `json:"pages"` Results []struct { HumanURL string `json:"human_url"` FullPrice struct { Currency string `json:"currency"` Amount float64 `json:"amount"` } `json:"full_price"` CurrentPrice struct { Currency string `json:"currency"` Amount float64 `json:"amount"` } `json:"current_price"` Name string `json:"human_name"` } `json:"results"` }
HumbleSearch represents a Humble search query
type SteamAppList ¶
type SteamAppList struct { AppList struct { Apps []SteamGame `json:"apps"` } `json:"applist"` }
SteamAppList represents the ISteamApps response
type SteamGame ¶
SteamGame represents an item in ISteamApps.Apps
type SteamScreenshot ¶
SteamScreenshot represents a Screenshot in the storefront API
type SteamStorefront ¶
type SteamStorefront struct { Success bool `json:"success"` Data struct { Type string `json:"type"` Name string `json:"name"` AppID uint `json:"steam_appid"` IsFree bool `json:"is_free"` DetailedDescription string `json:"detailed_description"` ShortDescription string `json:"short_description"` SupportedLanguages string `json:"supported_languages"` Reviews string `json:"Reviews"` HeaderImage string `json:"header_image"` Website string `json:"website"` LegalNotice string `json:"legal_notice"` Developers []string `json:"developers"` Publishers []string `json:"publishers"` Price struct { Currency string `json:"currency"` Initial uint64 `json:"initial"` Final uint64 `json:"final"` DiscountPercent uint `json:"discount_percent"` Formatted string `json:"final_formatted"` } `json:"price_overview"` Platforms struct { Windows bool `json:"windows"` Mac bool `json:"mac"` Linux bool `json:"linux"` } `json:"platforms"` Categories []struct { ID int `json:"id"` Description string `json:"description"` } `json:"categories"` Genres []struct { ID string `json:"id"` Description string `json:"description"` } `json:"genres"` ReleaseDate struct { ComingSoon bool `json:"coming_soon"` Date string `json:"date"` } `json:"release_date"` Screenshots []SteamScreenshot } `json:"data"` }
SteamStorefront represents the Storefront API response
Click to show internal directories.
Click to hide internal directories.