Documentation ¶
Index ¶
- type OddsAPI
- func (o *OddsAPI) RetrieveLeague(region, league, market string) (*types.Fixtures, error)
- func (o *OddsAPI) RetrieveLeagueFromFile(file string) (*types.Fixtures, error)
- func (o *OddsAPI) RetrievePM(queryDetail *types.Query, interval int) (*types.PMFeed, error)
- func (o *OddsAPI) RetrievePMFromFile(file string) (*types.PMFeed, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OddsAPI ¶
type OddsAPI struct {
// contains filtered or unexported fields
}
OddsAPI - API interface to REST calls to retrieve league odds
func (*OddsAPI) RetrieveLeague ¶
RetrieveLeague - Get the fixtures for a league
func (*OddsAPI) RetrieveLeagueFromFile ¶
RetrieveLeagueFromFile - umarshall into structs from file
func (*OddsAPI) RetrievePM ¶
RetrievePM - Get the fixtures from PM
Click to show internal directories.
Click to hide internal directories.