Documentation ¶
Overview ¶
Package dota2 implements an HTTP client for the (undocumented) Dota 2 Web API.
For more information, refer to the main "geyser" package documentation.
Example (Basic) ¶
client, err := dota2.New( geyser.WithDebug(), geyser.WithKey("<steam_api_key>"), geyser.WithLanguage("en_US"), ) if err != nil { log.Fatal(err) } iface, err := client.IDOTA2Teams() if err != nil { log.Fatal(err) } req, err := iface.GetSingleTeamInfo() if err != nil { log.Fatal(err) } result := make(map[string]interface{}) req. SetResult(result). SetQueryParam("team_id", "2") resp, err := client.Execute(req) if err != nil { log.Fatal(err) } if !resp.IsSuccess() { log.Fatalf("HTTP error: %s", resp.Status()) } fmt.Printf("%+#v\n", result)
Output:
Example (Raw) ¶
client, err := dota2.New( geyser.WithDebug(), geyser.WithKey("<steam_api_key>"), geyser.WithLanguage("en_US"), ) if err != nil { log.Fatal(err) } iface, err := client.IDOTA2Teams() if err != nil { log.Fatal(err) } req, err := iface.GetSingleTeamInfo() if err != nil { log.Fatal(err) } req.SetQueryParam("teams_requested", "3") // response body is not deserialized resp, err := client.Execute(req) if err != nil { log.Fatal(err) } // response body must be manually closed defer resp.Body.Close() if !resp.IsSuccess() { log.Fatalf("HTTP error: %s", resp.Status()) } // response body should be manually deserialized result := make(map[string]interface{}) dec := json.NewDecoder(resp.Body) if err := dec.Decode(&result); err != nil { log.Fatal(err) } fmt.Printf("%#v\n", result)
Output:
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) IChat() (*IChat, error)
- func (c *Client) ICustomGames() (*ICustomGames, error)
- func (c *Client) IDOTA2AutomatedTourney() (*IDOTA2AutomatedTourney, error)
- func (c *Client) IDOTA2DPC() (*IDOTA2DPC, error)
- func (c *Client) IDOTA2Events() (*IDOTA2Events, error)
- func (c *Client) IDOTA2Fantasy() (*IDOTA2Fantasy, error)
- func (c *Client) IDOTA2League() (*IDOTA2League, error)
- func (c *Client) IDOTA2Match() (*IDOTA2Match, error)
- func (c *Client) IDOTA2MatchStats() (*IDOTA2MatchStats, error)
- func (c *Client) IDOTA2Operations() (*IDOTA2Operations, error)
- func (c *Client) IDOTA2Plus() (*IDOTA2Plus, error)
- func (c *Client) IDOTA2StreamSystem() (*IDOTA2StreamSystem, error)
- func (c *Client) IDOTA2Teams() (*IDOTA2Teams, error)
- func (c *Client) IFrontpage() (*IFrontpage, error)
- func (c *Client) ILeague() (*ILeague, error)
- func (c *Client) ILobbies() (*ILobbies, error)
- func (c *Client) IStore() (*IStore, error)
- func (c *Client) ITournaments() (*ITournaments, error)
- func (c *Client) IWorkshop() (*IWorkshop, error)
- type IChat
- type ICustomGames
- type IDOTA2AutomatedTourney
- type IDOTA2DPC
- func (i *IDOTA2DPC) GetLeagueInfoList() (*geyser.Request, error)
- func (i *IDOTA2DPC) GetLeagueMatchMinimal() (*geyser.Request, error)
- func (i *IDOTA2DPC) GetLeagueNodeData() (*geyser.Request, error)
- func (i *IDOTA2DPC) GetPlayerInfo() (*geyser.Request, error)
- func (i *IDOTA2DPC) GetRealtimeMatchStats() (*geyser.Request, error)
- func (i *IDOTA2DPC) GetRecentAndUpcomingMatches() (*geyser.Request, error)
- func (i *IDOTA2DPC) GetSingleTeamInfo() (*geyser.Request, error)
- type IDOTA2Events
- type IDOTA2Fantasy
- type IDOTA2League
- func (i *IDOTA2League) GetLeagueData() (*geyser.Request, error)
- func (i *IDOTA2League) GetLeagueInfoList() (*geyser.Request, error)
- func (i *IDOTA2League) GetLeagueNodeResults() (*geyser.Request, error)
- func (i *IDOTA2League) GetLiveGames() (*geyser.Request, error)
- func (i *IDOTA2League) GetPredictionResults() (*geyser.Request, error)
- func (i *IDOTA2League) GetPredictions() (*geyser.Request, error)
- func (i *IDOTA2League) GetPrizePool() (*geyser.Request, error)
- type IDOTA2Match
- type IDOTA2MatchStats
- type IDOTA2Operations
- type IDOTA2Plus
- type IDOTA2StreamSystem
- type IDOTA2Teams
- type IFrontpage
- type ILeague
- type ILobbies
- type IStore
- type ITournaments
- func (i *ITournaments) GetGroupStandings() (*geyser.Request, error)
- func (i *ITournaments) GetLiveLeagueGames() (*geyser.Request, error)
- func (i *ITournaments) GetTournamentBrackets() (*geyser.Request, error)
- func (i *ITournaments) GetTournamentInfo() (*geyser.Request, error)
- func (i *ITournaments) GetTournamentPlayers() (*geyser.Request, error)
- func (i *ITournaments) GetTournamentSeriesDetails() (*geyser.Request, error)
- type IWorkshop
Examples ¶
Constants ¶
const (
HostURL = "https://www.dota2.com/webapi"
)
Variables ¶
var SchemaIChat = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetChannelMembers", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IChat", Undocumented: true, }, )
SchemaIChat stores the Interfaces for interface IChat.
var SchemaICustomGames = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetGamePlayerCounts", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPopularGames", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetSuggestedGames", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetWorkshopVoteQueue", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "ICustomGames", Undocumented: true, }, )
SchemaICustomGames stores the Interfaces for interface ICustomGames.
var SchemaIDOTA2AutomatedTourney = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetParticipationDetails", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPlayerHistory", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTournamentDetails", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2AutomatedTourney", Undocumented: true, }, )
SchemaIDOTA2AutomatedTourney stores the Interfaces for interface IDOTA2AutomatedTourney.
var SchemaIDOTA2DPC = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueInfoList", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueMatchMinimal", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueNodeData", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPlayerInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetRealtimeMatchStats", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetRecentAndUpcomingMatches", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetSingleTeamInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2DPC", Undocumented: true, }, )
SchemaIDOTA2DPC stores the Interfaces for interface IDOTA2DPC.
var SchemaIDOTA2Events = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetArcanaVotes", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetCurrentTriviaQuestions", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetMutations", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTriviaQuestionAnswersSummary", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2Events", Undocumented: true, }, )
SchemaIDOTA2Events stores the Interfaces for interface IDOTA2Events.
var SchemaIDOTA2Fantasy = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetFantasyPlayerRawStats", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeaderboards", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPlayerInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetProPlayerInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2Fantasy", Undocumented: true, }, )
SchemaIDOTA2Fantasy stores the Interfaces for interface IDOTA2Fantasy.
var SchemaIDOTA2League = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueData", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueInfoList", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueNodeResults", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLiveGames", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPredictionResults", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPredictions", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPrizePool", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2League", Undocumented: true, }, )
SchemaIDOTA2League stores the Interfaces for interface IDOTA2League.
var SchemaIDOTA2Match = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetMatchMVPVotes", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTopLiveEventGame", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTopLiveGame", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTopWeekendTourneyGames", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2Match", Undocumented: true, }, )
SchemaIDOTA2Match stores the Interfaces for interface IDOTA2Match.
var SchemaIDOTA2MatchStats = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetRealtimeStats", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2MatchStats", Undocumented: true, }, )
SchemaIDOTA2MatchStats stores the Interfaces for interface IDOTA2MatchStats.
var SchemaIDOTA2Operations = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetBannedWordList", Params: schema.NewMethodParams(), Undocumented: true, Version: 2, }, ), Name: "IDOTA2Operations", Undocumented: true, }, )
SchemaIDOTA2Operations stores the Interfaces for interface IDOTA2Operations.
var SchemaIDOTA2Plus = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetPlusStatsData", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2Plus", Undocumented: true, }, )
SchemaIDOTA2Plus stores the Interfaces for interface IDOTA2Plus.
var SchemaIDOTA2StreamSystem = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetBroadcasterInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2StreamSystem", Undocumented: true, }, )
SchemaIDOTA2StreamSystem stores the Interfaces for interface IDOTA2StreamSystem.
var SchemaIDOTA2Teams = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetSingleTeamInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IDOTA2Teams", Undocumented: true, }, )
SchemaIDOTA2Teams stores the Interfaces for interface IDOTA2Teams.
var SchemaIFrontpage = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "cell_data", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IFrontpage", Undocumented: true, }, )
SchemaIFrontpage stores the Interfaces for interface IFrontpage.
var SchemaILeague = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLeagueInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 2, }, ), Name: "ILeague", Undocumented: true, }, )
SchemaILeague stores the Interfaces for interface ILeague.
var SchemaILobbies = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetJoinableCustomLobbies", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "ILobbies", Undocumented: true, }, )
SchemaILobbies stores the Interfaces for interface ILobbies.
var SchemaIStore = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetClientStoreData", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IStore", Undocumented: true, }, )
SchemaIStore stores the Interfaces for interface IStore.
var SchemaITournaments = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetGroupStandings", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetLiveLeagueGames", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTournamentBrackets", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTournamentInfo", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTournamentPlayers", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetTournamentSeriesDetails", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "ITournaments", Undocumented: true, }, )
SchemaITournaments stores the Interfaces for interface ITournaments.
var SchemaIWorkshop = schema.MustNewInterfaces( &schema.Interface{ Methods: schema.MustNewMethods( &schema.Method{ HTTPMethod: http.MethodGet, Name: "GetChangeLog", Params: schema.NewMethodParams(), Undocumented: true, Version: 1, }, ), Name: "IWorkshop", Undocumented: true, }, )
SchemaIWorkshop stores the Interfaces for interface IWorkshop.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
geyser.Client
}
func (*Client) ICustomGames ¶
func (c *Client) ICustomGames() (*ICustomGames, error)
ICustomGames creates a new ICustomGames interface.
func (*Client) IDOTA2AutomatedTourney ¶
func (c *Client) IDOTA2AutomatedTourney() (*IDOTA2AutomatedTourney, error)
IDOTA2AutomatedTourney creates a new IDOTA2AutomatedTourney interface.
func (*Client) IDOTA2Events ¶
func (c *Client) IDOTA2Events() (*IDOTA2Events, error)
IDOTA2Events creates a new IDOTA2Events interface.
func (*Client) IDOTA2Fantasy ¶
func (c *Client) IDOTA2Fantasy() (*IDOTA2Fantasy, error)
IDOTA2Fantasy creates a new IDOTA2Fantasy interface.
func (*Client) IDOTA2League ¶
func (c *Client) IDOTA2League() (*IDOTA2League, error)
IDOTA2League creates a new IDOTA2League interface.
func (*Client) IDOTA2Match ¶
func (c *Client) IDOTA2Match() (*IDOTA2Match, error)
IDOTA2Match creates a new IDOTA2Match interface.
func (*Client) IDOTA2MatchStats ¶
func (c *Client) IDOTA2MatchStats() (*IDOTA2MatchStats, error)
IDOTA2MatchStats creates a new IDOTA2MatchStats interface.
func (*Client) IDOTA2Operations ¶
func (c *Client) IDOTA2Operations() (*IDOTA2Operations, error)
IDOTA2Operations creates a new IDOTA2Operations interface.
func (*Client) IDOTA2Plus ¶
func (c *Client) IDOTA2Plus() (*IDOTA2Plus, error)
IDOTA2Plus creates a new IDOTA2Plus interface.
func (*Client) IDOTA2StreamSystem ¶
func (c *Client) IDOTA2StreamSystem() (*IDOTA2StreamSystem, error)
IDOTA2StreamSystem creates a new IDOTA2StreamSystem interface.
func (*Client) IDOTA2Teams ¶
func (c *Client) IDOTA2Teams() (*IDOTA2Teams, error)
IDOTA2Teams creates a new IDOTA2Teams interface.
func (*Client) IFrontpage ¶
func (c *Client) IFrontpage() (*IFrontpage, error)
IFrontpage creates a new IFrontpage interface.
func (*Client) ITournaments ¶
func (c *Client) ITournaments() (*ITournaments, error)
ITournaments creates a new ITournaments interface.
type IChat ¶
IChat represents interface IChat.
This is an undocumented interface.
func (*IChat) GetChannelMembers ¶
GetChannelMembers creates a Request for interface method GetChannelMembers.
This is an undocumented method.
type ICustomGames ¶
ICustomGames represents interface ICustomGames.
This is an undocumented interface.
func NewICustomGames ¶
func NewICustomGames(c *Client) (*ICustomGames, error)
NewICustomGames creates a new ICustomGames interface.
func (*ICustomGames) GetGamePlayerCounts ¶
func (i *ICustomGames) GetGamePlayerCounts() (*geyser.Request, error)
GetGamePlayerCounts creates a Request for interface method GetGamePlayerCounts.
This is an undocumented method.
func (*ICustomGames) GetPopularGames ¶
func (i *ICustomGames) GetPopularGames() (*geyser.Request, error)
GetPopularGames creates a Request for interface method GetPopularGames.
This is an undocumented method.
func (*ICustomGames) GetSuggestedGames ¶
func (i *ICustomGames) GetSuggestedGames() (*geyser.Request, error)
GetSuggestedGames creates a Request for interface method GetSuggestedGames.
This is an undocumented method.
func (*ICustomGames) GetWorkshopVoteQueue ¶
func (i *ICustomGames) GetWorkshopVoteQueue() (*geyser.Request, error)
GetWorkshopVoteQueue creates a Request for interface method GetWorkshopVoteQueue.
This is an undocumented method.
type IDOTA2AutomatedTourney ¶
IDOTA2AutomatedTourney represents interface IDOTA2AutomatedTourney.
This is an undocumented interface.
func NewIDOTA2AutomatedTourney ¶
func NewIDOTA2AutomatedTourney(c *Client) (*IDOTA2AutomatedTourney, error)
NewIDOTA2AutomatedTourney creates a new IDOTA2AutomatedTourney interface.
func (*IDOTA2AutomatedTourney) GetParticipationDetails ¶
func (i *IDOTA2AutomatedTourney) GetParticipationDetails() (*geyser.Request, error)
GetParticipationDetails creates a Request for interface method GetParticipationDetails.
This is an undocumented method.
func (*IDOTA2AutomatedTourney) GetPlayerHistory ¶
func (i *IDOTA2AutomatedTourney) GetPlayerHistory() (*geyser.Request, error)
GetPlayerHistory creates a Request for interface method GetPlayerHistory.
This is an undocumented method.
func (*IDOTA2AutomatedTourney) GetTournamentDetails ¶
func (i *IDOTA2AutomatedTourney) GetTournamentDetails() (*geyser.Request, error)
GetTournamentDetails creates a Request for interface method GetTournamentDetails.
This is an undocumented method.
type IDOTA2DPC ¶
IDOTA2DPC represents interface IDOTA2DPC.
This is an undocumented interface.
func NewIDOTA2DPC ¶
NewIDOTA2DPC creates a new IDOTA2DPC interface.
func (*IDOTA2DPC) GetLeagueInfoList ¶
GetLeagueInfoList creates a Request for interface method GetLeagueInfoList.
This is an undocumented method.
func (*IDOTA2DPC) GetLeagueMatchMinimal ¶
GetLeagueMatchMinimal creates a Request for interface method GetLeagueMatchMinimal.
This is an undocumented method.
func (*IDOTA2DPC) GetLeagueNodeData ¶
GetLeagueNodeData creates a Request for interface method GetLeagueNodeData.
This is an undocumented method.
func (*IDOTA2DPC) GetPlayerInfo ¶
GetPlayerInfo creates a Request for interface method GetPlayerInfo.
This is an undocumented method.
func (*IDOTA2DPC) GetRealtimeMatchStats ¶
GetRealtimeMatchStats creates a Request for interface method GetRealtimeMatchStats.
This is an undocumented method.
func (*IDOTA2DPC) GetRecentAndUpcomingMatches ¶
GetRecentAndUpcomingMatches creates a Request for interface method GetRecentAndUpcomingMatches.
This is an undocumented method.
func (*IDOTA2DPC) GetSingleTeamInfo ¶
GetSingleTeamInfo creates a Request for interface method GetSingleTeamInfo.
This is an undocumented method.
type IDOTA2Events ¶
IDOTA2Events represents interface IDOTA2Events.
This is an undocumented interface.
func NewIDOTA2Events ¶
func NewIDOTA2Events(c *Client) (*IDOTA2Events, error)
NewIDOTA2Events creates a new IDOTA2Events interface.
func (*IDOTA2Events) GetArcanaVotes ¶
func (i *IDOTA2Events) GetArcanaVotes() (*geyser.Request, error)
GetArcanaVotes creates a Request for interface method GetArcanaVotes.
This is an undocumented method.
func (*IDOTA2Events) GetCurrentTriviaQuestions ¶
func (i *IDOTA2Events) GetCurrentTriviaQuestions() (*geyser.Request, error)
GetCurrentTriviaQuestions creates a Request for interface method GetCurrentTriviaQuestions.
This is an undocumented method.
func (*IDOTA2Events) GetMutations ¶
func (i *IDOTA2Events) GetMutations() (*geyser.Request, error)
GetMutations creates a Request for interface method GetMutations.
This is an undocumented method.
func (*IDOTA2Events) GetTriviaQuestionAnswersSummary ¶
func (i *IDOTA2Events) GetTriviaQuestionAnswersSummary() (*geyser.Request, error)
GetTriviaQuestionAnswersSummary creates a Request for interface method GetTriviaQuestionAnswersSummary.
This is an undocumented method.
type IDOTA2Fantasy ¶
IDOTA2Fantasy represents interface IDOTA2Fantasy.
This is an undocumented interface.
func NewIDOTA2Fantasy ¶
func NewIDOTA2Fantasy(c *Client) (*IDOTA2Fantasy, error)
NewIDOTA2Fantasy creates a new IDOTA2Fantasy interface.
func (*IDOTA2Fantasy) GetFantasyPlayerRawStats ¶
func (i *IDOTA2Fantasy) GetFantasyPlayerRawStats() (*geyser.Request, error)
GetFantasyPlayerRawStats creates a Request for interface method GetFantasyPlayerRawStats.
This is an undocumented method.
func (*IDOTA2Fantasy) GetLeaderboards ¶
func (i *IDOTA2Fantasy) GetLeaderboards() (*geyser.Request, error)
GetLeaderboards creates a Request for interface method GetLeaderboards.
This is an undocumented method.
func (*IDOTA2Fantasy) GetPlayerInfo ¶
func (i *IDOTA2Fantasy) GetPlayerInfo() (*geyser.Request, error)
GetPlayerInfo creates a Request for interface method GetPlayerInfo.
This is an undocumented method.
func (*IDOTA2Fantasy) GetProPlayerInfo ¶
func (i *IDOTA2Fantasy) GetProPlayerInfo() (*geyser.Request, error)
GetProPlayerInfo creates a Request for interface method GetProPlayerInfo.
This is an undocumented method.
type IDOTA2League ¶
IDOTA2League represents interface IDOTA2League.
This is an undocumented interface.
func NewIDOTA2League ¶
func NewIDOTA2League(c *Client) (*IDOTA2League, error)
NewIDOTA2League creates a new IDOTA2League interface.
func (*IDOTA2League) GetLeagueData ¶
func (i *IDOTA2League) GetLeagueData() (*geyser.Request, error)
GetLeagueData creates a Request for interface method GetLeagueData.
This is an undocumented method.
func (*IDOTA2League) GetLeagueInfoList ¶
func (i *IDOTA2League) GetLeagueInfoList() (*geyser.Request, error)
GetLeagueInfoList creates a Request for interface method GetLeagueInfoList.
This is an undocumented method.
func (*IDOTA2League) GetLeagueNodeResults ¶
func (i *IDOTA2League) GetLeagueNodeResults() (*geyser.Request, error)
GetLeagueNodeResults creates a Request for interface method GetLeagueNodeResults.
This is an undocumented method.
func (*IDOTA2League) GetLiveGames ¶
func (i *IDOTA2League) GetLiveGames() (*geyser.Request, error)
GetLiveGames creates a Request for interface method GetLiveGames.
This is an undocumented method.
func (*IDOTA2League) GetPredictionResults ¶
func (i *IDOTA2League) GetPredictionResults() (*geyser.Request, error)
GetPredictionResults creates a Request for interface method GetPredictionResults.
This is an undocumented method.
func (*IDOTA2League) GetPredictions ¶
func (i *IDOTA2League) GetPredictions() (*geyser.Request, error)
GetPredictions creates a Request for interface method GetPredictions.
This is an undocumented method.
func (*IDOTA2League) GetPrizePool ¶
func (i *IDOTA2League) GetPrizePool() (*geyser.Request, error)
GetPrizePool creates a Request for interface method GetPrizePool.
This is an undocumented method.
type IDOTA2Match ¶
IDOTA2Match represents interface IDOTA2Match.
This is an undocumented interface.
func NewIDOTA2Match ¶
func NewIDOTA2Match(c *Client) (*IDOTA2Match, error)
NewIDOTA2Match creates a new IDOTA2Match interface.
func (*IDOTA2Match) GetMatchMVPVotes ¶
func (i *IDOTA2Match) GetMatchMVPVotes() (*geyser.Request, error)
GetMatchMVPVotes creates a Request for interface method GetMatchMVPVotes.
This is an undocumented method.
func (*IDOTA2Match) GetTopLiveEventGame ¶
func (i *IDOTA2Match) GetTopLiveEventGame() (*geyser.Request, error)
GetTopLiveEventGame creates a Request for interface method GetTopLiveEventGame.
This is an undocumented method.
func (*IDOTA2Match) GetTopLiveGame ¶
func (i *IDOTA2Match) GetTopLiveGame() (*geyser.Request, error)
GetTopLiveGame creates a Request for interface method GetTopLiveGame.
This is an undocumented method.
func (*IDOTA2Match) GetTopWeekendTourneyGames ¶
func (i *IDOTA2Match) GetTopWeekendTourneyGames() (*geyser.Request, error)
GetTopWeekendTourneyGames creates a Request for interface method GetTopWeekendTourneyGames.
This is an undocumented method.
type IDOTA2MatchStats ¶
IDOTA2MatchStats represents interface IDOTA2MatchStats.
This is an undocumented interface.
func NewIDOTA2MatchStats ¶
func NewIDOTA2MatchStats(c *Client) (*IDOTA2MatchStats, error)
NewIDOTA2MatchStats creates a new IDOTA2MatchStats interface.
func (*IDOTA2MatchStats) GetRealtimeStats ¶
func (i *IDOTA2MatchStats) GetRealtimeStats() (*geyser.Request, error)
GetRealtimeStats creates a Request for interface method GetRealtimeStats.
This is an undocumented method.
type IDOTA2Operations ¶
IDOTA2Operations represents interface IDOTA2Operations.
This is an undocumented interface.
func NewIDOTA2Operations ¶
func NewIDOTA2Operations(c *Client) (*IDOTA2Operations, error)
NewIDOTA2Operations creates a new IDOTA2Operations interface.
func (*IDOTA2Operations) GetBannedWordList ¶
func (i *IDOTA2Operations) GetBannedWordList() (*geyser.Request, error)
GetBannedWordList creates a Request for interface method GetBannedWordList.
This is an undocumented method.
type IDOTA2Plus ¶
IDOTA2Plus represents interface IDOTA2Plus.
This is an undocumented interface.
func NewIDOTA2Plus ¶
func NewIDOTA2Plus(c *Client) (*IDOTA2Plus, error)
NewIDOTA2Plus creates a new IDOTA2Plus interface.
func (*IDOTA2Plus) GetPlusStatsData ¶
func (i *IDOTA2Plus) GetPlusStatsData() (*geyser.Request, error)
GetPlusStatsData creates a Request for interface method GetPlusStatsData.
This is an undocumented method.
type IDOTA2StreamSystem ¶
IDOTA2StreamSystem represents interface IDOTA2StreamSystem.
This is an undocumented interface.
func NewIDOTA2StreamSystem ¶
func NewIDOTA2StreamSystem(c *Client) (*IDOTA2StreamSystem, error)
NewIDOTA2StreamSystem creates a new IDOTA2StreamSystem interface.
func (*IDOTA2StreamSystem) GetBroadcasterInfo ¶
func (i *IDOTA2StreamSystem) GetBroadcasterInfo() (*geyser.Request, error)
GetBroadcasterInfo creates a Request for interface method GetBroadcasterInfo.
This is an undocumented method.
type IDOTA2Teams ¶
IDOTA2Teams represents interface IDOTA2Teams.
This is an undocumented interface.
func NewIDOTA2Teams ¶
func NewIDOTA2Teams(c *Client) (*IDOTA2Teams, error)
NewIDOTA2Teams creates a new IDOTA2Teams interface.
func (*IDOTA2Teams) GetSingleTeamInfo ¶
func (i *IDOTA2Teams) GetSingleTeamInfo() (*geyser.Request, error)
GetSingleTeamInfo creates a Request for interface method GetSingleTeamInfo.
This is an undocumented method.
type IFrontpage ¶
IFrontpage represents interface IFrontpage.
This is an undocumented interface.
func NewIFrontpage ¶
func NewIFrontpage(c *Client) (*IFrontpage, error)
NewIFrontpage creates a new IFrontpage interface.
func (*IFrontpage) CellData ¶
func (i *IFrontpage) CellData() (*geyser.Request, error)
CellData creates a Request for interface method cell_data.
This is an undocumented method.
type ILeague ¶
ILeague represents interface ILeague.
This is an undocumented interface.
func NewILeague ¶
NewILeague creates a new ILeague interface.
func (*ILeague) GetLeagueInfo ¶
GetLeagueInfo creates a Request for interface method GetLeagueInfo.
This is an undocumented method.
type ILobbies ¶
ILobbies represents interface ILobbies.
This is an undocumented interface.
func NewILobbies ¶
NewILobbies creates a new ILobbies interface.
func (*ILobbies) GetJoinableCustomLobbies ¶
GetJoinableCustomLobbies creates a Request for interface method GetJoinableCustomLobbies.
This is an undocumented method.
type IStore ¶
IStore represents interface IStore.
This is an undocumented interface.
func (*IStore) GetClientStoreData ¶
GetClientStoreData creates a Request for interface method GetClientStoreData.
This is an undocumented method.
type ITournaments ¶
ITournaments represents interface ITournaments.
This is an undocumented interface.
func NewITournaments ¶
func NewITournaments(c *Client) (*ITournaments, error)
NewITournaments creates a new ITournaments interface.
func (*ITournaments) GetGroupStandings ¶
func (i *ITournaments) GetGroupStandings() (*geyser.Request, error)
GetGroupStandings creates a Request for interface method GetGroupStandings.
This is an undocumented method.
func (*ITournaments) GetLiveLeagueGames ¶
func (i *ITournaments) GetLiveLeagueGames() (*geyser.Request, error)
GetLiveLeagueGames creates a Request for interface method GetLiveLeagueGames.
This is an undocumented method.
func (*ITournaments) GetTournamentBrackets ¶
func (i *ITournaments) GetTournamentBrackets() (*geyser.Request, error)
GetTournamentBrackets creates a Request for interface method GetTournamentBrackets.
This is an undocumented method.
func (*ITournaments) GetTournamentInfo ¶
func (i *ITournaments) GetTournamentInfo() (*geyser.Request, error)
GetTournamentInfo creates a Request for interface method GetTournamentInfo.
This is an undocumented method.
func (*ITournaments) GetTournamentPlayers ¶
func (i *ITournaments) GetTournamentPlayers() (*geyser.Request, error)
GetTournamentPlayers creates a Request for interface method GetTournamentPlayers.
This is an undocumented method.
func (*ITournaments) GetTournamentSeriesDetails ¶
func (i *ITournaments) GetTournamentSeriesDetails() (*geyser.Request, error)
GetTournamentSeriesDetails creates a Request for interface method GetTournamentSeriesDetails.
This is an undocumented method.
type IWorkshop ¶
IWorkshop represents interface IWorkshop.
This is an undocumented interface.
func NewIWorkshop ¶
NewIWorkshop creates a new IWorkshop interface.
func (*IWorkshop) GetChangeLog ¶
GetChangeLog creates a Request for interface method GetChangeLog.
This is an undocumented method.
Source Files ¶
- client.go
- z_ichat.go
- z_icustom_games.go
- z_idota2_automated_tourney.go
- z_idota2_dpc.go
- z_idota2_events.go
- z_idota2_fantasy.go
- z_idota2_league.go
- z_idota2_match.go
- z_idota2_match_stats.go
- z_idota2_operations.go
- z_idota2_plus.go
- z_idota2_stream_system.go
- z_idota2_teams.go
- z_ifrontpage.go
- z_ileague.go
- z_ilobbies.go
- z_istore.go
- z_itournaments.go
- z_iworkshop.go