dota2

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 3 Imported by: 0

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

Examples

Constants

View Source
const (
	HostURL = "https://www.dota2.com/webapi"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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 New

func New(options ...geyser.ClientOption) (*Client, error)

New creates a new Dota2 API client.

func (*Client) IChat

func (c *Client) IChat() (*IChat, error)

IChat creates a new IChat interface.

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) IDOTA2DPC

func (c *Client) IDOTA2DPC() (*IDOTA2DPC, error)

IDOTA2DPC creates a new IDOTA2DPC 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) ILeague

func (c *Client) ILeague() (*ILeague, error)

ILeague creates a new ILeague interface.

func (*Client) ILobbies

func (c *Client) ILobbies() (*ILobbies, error)

ILobbies creates a new ILobbies interface.

func (*Client) IStore

func (c *Client) IStore() (*IStore, error)

IStore creates a new IStore interface.

func (*Client) ITournaments

func (c *Client) ITournaments() (*ITournaments, error)

ITournaments creates a new ITournaments interface.

func (*Client) IWorkshop

func (c *Client) IWorkshop() (*IWorkshop, error)

IWorkshop creates a new IWorkshop interface.

type IChat

type IChat struct {
	Client    *Client
	Interface *schema.Interface
}

IChat represents interface IChat.

This is an undocumented interface.

func NewIChat

func NewIChat(c *Client) (*IChat, error)

NewIChat creates a new IChat interface.

func (*IChat) GetChannelMembers

func (i *IChat) GetChannelMembers() (*geyser.Request, error)

GetChannelMembers creates a Request for interface method GetChannelMembers.

This is an undocumented method.

type ICustomGames

type ICustomGames struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2AutomatedTourney struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2DPC struct {
	Client    *Client
	Interface *schema.Interface
}

IDOTA2DPC represents interface IDOTA2DPC.

This is an undocumented interface.

func NewIDOTA2DPC

func NewIDOTA2DPC(c *Client) (*IDOTA2DPC, error)

NewIDOTA2DPC creates a new IDOTA2DPC interface.

func (*IDOTA2DPC) GetLeagueInfoList

func (i *IDOTA2DPC) GetLeagueInfoList() (*geyser.Request, error)

GetLeagueInfoList creates a Request for interface method GetLeagueInfoList.

This is an undocumented method.

func (*IDOTA2DPC) GetLeagueMatchMinimal

func (i *IDOTA2DPC) GetLeagueMatchMinimal() (*geyser.Request, error)

GetLeagueMatchMinimal creates a Request for interface method GetLeagueMatchMinimal.

This is an undocumented method.

func (*IDOTA2DPC) GetLeagueNodeData

func (i *IDOTA2DPC) GetLeagueNodeData() (*geyser.Request, error)

GetLeagueNodeData creates a Request for interface method GetLeagueNodeData.

This is an undocumented method.

func (*IDOTA2DPC) GetPlayerInfo

func (i *IDOTA2DPC) GetPlayerInfo() (*geyser.Request, error)

GetPlayerInfo creates a Request for interface method GetPlayerInfo.

This is an undocumented method.

func (*IDOTA2DPC) GetRealtimeMatchStats

func (i *IDOTA2DPC) GetRealtimeMatchStats() (*geyser.Request, error)

GetRealtimeMatchStats creates a Request for interface method GetRealtimeMatchStats.

This is an undocumented method.

func (*IDOTA2DPC) GetRecentAndUpcomingMatches

func (i *IDOTA2DPC) GetRecentAndUpcomingMatches() (*geyser.Request, error)

GetRecentAndUpcomingMatches creates a Request for interface method GetRecentAndUpcomingMatches.

This is an undocumented method.

func (*IDOTA2DPC) GetSingleTeamInfo

func (i *IDOTA2DPC) GetSingleTeamInfo() (*geyser.Request, error)

GetSingleTeamInfo creates a Request for interface method GetSingleTeamInfo.

This is an undocumented method.

type IDOTA2Events

type IDOTA2Events struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2Fantasy struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2League struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2Match struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2MatchStats struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2Operations struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2Plus struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2StreamSystem struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IDOTA2Teams struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IFrontpage struct {
	Client    *Client
	Interface *schema.Interface
}

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

type ILeague struct {
	Client    *Client
	Interface *schema.Interface
}

ILeague represents interface ILeague.

This is an undocumented interface.

func NewILeague

func NewILeague(c *Client) (*ILeague, error)

NewILeague creates a new ILeague interface.

func (*ILeague) GetLeagueInfo

func (i *ILeague) GetLeagueInfo() (*geyser.Request, error)

GetLeagueInfo creates a Request for interface method GetLeagueInfo.

This is an undocumented method.

type ILobbies

type ILobbies struct {
	Client    *Client
	Interface *schema.Interface
}

ILobbies represents interface ILobbies.

This is an undocumented interface.

func NewILobbies

func NewILobbies(c *Client) (*ILobbies, error)

NewILobbies creates a new ILobbies interface.

func (*ILobbies) GetJoinableCustomLobbies

func (i *ILobbies) GetJoinableCustomLobbies() (*geyser.Request, error)

GetJoinableCustomLobbies creates a Request for interface method GetJoinableCustomLobbies.

This is an undocumented method.

type IStore

type IStore struct {
	Client    *Client
	Interface *schema.Interface
}

IStore represents interface IStore.

This is an undocumented interface.

func NewIStore

func NewIStore(c *Client) (*IStore, error)

NewIStore creates a new IStore interface.

func (*IStore) GetClientStoreData

func (i *IStore) GetClientStoreData() (*geyser.Request, error)

GetClientStoreData creates a Request for interface method GetClientStoreData.

This is an undocumented method.

type ITournaments

type ITournaments struct {
	Client    *Client
	Interface *schema.Interface
}

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

type IWorkshop struct {
	Client    *Client
	Interface *schema.Interface
}

IWorkshop represents interface IWorkshop.

This is an undocumented interface.

func NewIWorkshop

func NewIWorkshop(c *Client) (*IWorkshop, error)

NewIWorkshop creates a new IWorkshop interface.

func (*IWorkshop) GetChangeLog

func (i *IWorkshop) GetChangeLog() (*geyser.Request, error)

GetChangeLog creates a Request for interface method GetChangeLog.

This is an undocumented method.

Jump to

Keyboard shortcuts

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