Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) CheckAccepted(uniqueRequestId string) (api.PlaceBetResponseV2, error)
- func (c *Client) CheckLine(ctx context.Context, sportId int, leagueId int, eventId int64, side string, ...) (api.LineResponse, error)
- func (c *Client) GetBalance(ctx context.Context) (api.ClientBalanceResponse, error)
- func (c *Client) GetBetByUUID(ctx context.Context, uniqueRequestId string) (api.GetBetsByTypeResponseV3, error)
- func (c *Client) GetBets(ctx context.Context) (api.GetBetsByTypeResponseV3, error)
- func (c *Client) GetBettingStatus(ctx context.Context) (api.BettingStatusResponse, error)
- func (c *Client) GetEvents(ctx context.Context, sportId int, since int64) (api.FixturesResponse, error)
- func (c *Client) GetLeagues(ctx context.Context, sportId int) ([]api.League, error)
- func (c *Client) GetLines(ctx context.Context, sportId int, since int64) (api.OddsResponse, error)
- func (c *Client) GetPeriods(ctx context.Context, sportId int) ([]api.Period, error)
- func (c *Client) GetSpecialLines(ctx context.Context, sportId int, since int64) (api.SpecialOddsResponse, error)
- func (c *Client) GetSpecials(ctx context.Context, SportId int, since int64) (api.SpecialsFixturesResponse, error)
- func (c *Client) GetSports(ctx context.Context) ([]api.Sport, error)
- func (c *Client) PlaceBet(ctx context.Context, sportId int64, eventId int64, side string, ...) (api.PlaceBetResponseV2, error)
Constants ¶
View Source
const CheckAcceptedTryMaxCount = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CheckAccepted ¶
func (c *Client) CheckAccepted(uniqueRequestId string) (api.PlaceBetResponseV2, error)
func (*Client) CheckLine ¶
func (c *Client) CheckLine(ctx context.Context, sportId int, leagueId int, eventId int64, side string, handicap *float64, periodNumber int, betType string, team string) (api.LineResponse, error)
Side: This is needed only for TOTAL_POINTS and TEAM_TOTAL_POINTS Available values : OVER, UNDER \n Handicap: This is needed for SPREAD, TOTAL_POINTS and TEAM_TOTAL_POINTS bet types PeriodNumber: For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half) BetType: Available values : SPREAD, MONEYLINE, TOTAL_POINTS, TEAM_TOTAL_POINTS Team: This is needed only for SPREAD, MONEYLINE and TEAM_TOTAL_POINTS bet types Available values : Team1, Team2, Draw
func (*Client) GetBalance ¶
func (*Client) GetBetByUUID ¶
func (*Client) GetBettingStatus ¶
func (*Client) GetLeagues ¶
func (*Client) GetPeriods ¶
func (*Client) GetSpecialLines ¶
func (*Client) GetSpecials ¶
Click to show internal directories.
Click to hide internal directories.