Documentation ¶
Index ¶
Constants ¶
View Source
const ( DOMAIN = "https://oldschool.runescape.com/" TIMEOUT = 15 )
Steamcharts constants
View Source
const ( STEAMDOMAIN = "https://api.steampowered.com" // Population POPULATIONINTERFACE = "ISteamUserStats" POPULATIONFUNCTION = "GetNumberOfCurrentPlayers" POPULATIONVERSION = "v1" IDENTIFIER = "?appid=" POPULATIONBASE = STEAMDOMAIN + "/" + POPULATIONINTERFACE + "/" + POPULATIONFUNCTION + "/" + POPULATIONVERSION + "/" + IDENTIFIER // Apps APPINTERFACE = "ISteamApps" APPFUNCTION = "GetAppList" APPVERSION = "v2" APPBASE = STEAMDOMAIN + "/" + APPINTERFACE + "/" + APPFUNCTION + "/" + APPVERSION )
constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppDataContainer ¶ added in v1.0.5
type AppListDataContainer ¶ added in v1.0.5
type AppListDataContainer struct {
Apps []AppDataContainer `json:"apps"`
}
type AppResponseContainer ¶ added in v1.0.5
type AppResponseContainer struct {
AppList AppListDataContainer `json:"applist"`
}
type DataContainer ¶
DataContainer player container
type ResponseContainer ¶
type ResponseContainer struct {
Data DataContainer `json:"response"`
}
ResponseContainer json response from steam API
Click to show internal directories.
Click to hide internal directories.