Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebAPI ¶
type WebAPI struct {
// contains filtered or unexported fields
}
WebAPI just wraps the parsing functionality found in requests/ in an easy to use API
func NewWebAPI ¶
NewWebAPI creates a new instance of WebAPI, with the given steam development key held internally. http://steamcommunity.com/dev/registerkey
func (*WebAPI) GetPlayerMatchIDs ¶
GetPlayerMatchIDs gets all of a players matchIDs since a certain time, because this requires potentially a large number of HTTP requests, the function will block for a while. Unfortunately, Valve currently restricts the GetMatchHistory endpoint to a mere 500 entries, returning the last match repeated if you try to go further. It appears there are solutions for this, just need to implement them here - this code isn't the greatest anyways...