Documentation
¶
Overview ¶
Package flashscore is a focused Go client for Crawlora's Flashscore endpoints.
Index ¶
- Constants
- func OperationIDs() []string
- type Client
- func (c *Client) Calendar(ctx context.Context, params Params) (any, error)
- func (c *Client) CalendarCategories(ctx context.Context, params Params) (any, error)
- func (c *Client) Call(ctx context.Context, operationID string, params Params) (any, error)
- func (c *Client) Close() error
- func (c *Client) Competitions(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchH2h(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchHighlights(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchInfo(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchLineups(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchMissingPlayers(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchNews(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchOdds(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchPredictedLineups(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchStandings(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchStats(ctx context.Context, params Params) (any, error)
- func (c *Client) MatchTv(ctx context.Context, params Params) (any, error)
- func (c *Client) Navigation(ctx context.Context, params Params) (any, error)
- func (c *Client) News(ctx context.Context, params Params) (any, error)
- func (c *Client) NewsArticle(ctx context.Context, params Params) (any, error)
- func (c *Client) NewsCategories(ctx context.Context, params Params) (any, error)
- func (c *Client) OddsGeos(ctx context.Context, params Params) (any, error)
- func (c *Client) Player(ctx context.Context, params Params) (any, error)
- func (c *Client) PlayerInjuries(ctx context.Context, params Params) (any, error)
- func (c *Client) PlayerTransfers(ctx context.Context, params Params) (any, error)
- func (c *Client) RankingCategories(ctx context.Context, params Params) (any, error)
- func (c *Client) Rankings(ctx context.Context, params Params) (any, error)
- func (c *Client) Scores(ctx context.Context, params Params) (any, error)
- func (c *Client) Search(ctx context.Context, params Params) (any, error)
- func (c *Client) Sports(ctx context.Context, params Params) (any, error)
- func (c *Client) Team(ctx context.Context, params Params) (any, error)
- func (c *Client) TeamFixtures(ctx context.Context, params Params) (any, error)
- func (c *Client) TeamNews(ctx context.Context, params Params) (any, error)
- func (c *Client) TeamResults(ctx context.Context, params Params) (any, error)
- func (c *Client) TeamSquad(ctx context.Context, params Params) (any, error)
- func (c *Client) TeamTransfers(ctx context.Context, params Params) (any, error)
- func (c *Client) TopSearch(ctx context.Context, params Params) (any, error)
- func (c *Client) TournamentEvents(ctx context.Context, params Params) (any, error)
- func (c *Client) TournamentSeasons(ctx context.Context, params Params) (any, error)
- func (c *Client) TournamentStandings(ctx context.Context, params Params) (any, error)
- func (c *Client) TournamentStandingsViews(ctx context.Context, params Params) (any, error)
- type Params
Constants ¶
const ( DefaultBaseURL = "https://api.crawlora.net/api/v1" Version = "0.2.0" )
const OperationCount = 38
OperationCount reports how many selected-platform operations this module exposes.
Variables ¶
This section is empty.
Functions ¶
func OperationIDs ¶
func OperationIDs() []string
OperationIDs returns the selected operation IDs in stable sorted order.
Types ¶
type Client ¶
Client calls only the operation IDs included in this platform module.
func NewClient ¶
NewClient creates a client using the supplied API key, or CRAWLORA_API_KEY when empty.
func (*Client) CalendarCategories ¶
CalendarCategories calls the flashscore-calendar-categories operation.
func (*Client) Competitions ¶
Competitions calls the flashscore-competitions operation.
func (*Client) MatchHighlights ¶
MatchHighlights calls the flashscore-match-highlights operation.
func (*Client) MatchLineups ¶
MatchLineups calls the flashscore-match-lineups operation.
func (*Client) MatchMissingPlayers ¶
MatchMissingPlayers calls the flashscore-match-missing-players operation.
func (*Client) MatchPredictedLineups ¶
MatchPredictedLineups calls the flashscore-match-predicted-lineups operation.
func (*Client) MatchStandings ¶
MatchStandings calls the flashscore-match-standings operation.
func (*Client) MatchStats ¶
MatchStats calls the flashscore-match-stats operation.
func (*Client) Navigation ¶
Navigation calls the flashscore-navigation operation.
func (*Client) NewsArticle ¶
NewsArticle calls the flashscore-news-article operation.
func (*Client) NewsCategories ¶
NewsCategories calls the flashscore-news-categories operation.
func (*Client) PlayerInjuries ¶
PlayerInjuries calls the flashscore-player-injuries operation.
func (*Client) PlayerTransfers ¶
PlayerTransfers calls the flashscore-player-transfers operation.
func (*Client) RankingCategories ¶
RankingCategories calls the flashscore-ranking-categories operation.
func (*Client) TeamFixtures ¶
TeamFixtures calls the flashscore-team-fixtures operation.
func (*Client) TeamResults ¶
TeamResults calls the flashscore-team-results operation.
func (*Client) TeamTransfers ¶
TeamTransfers calls the flashscore-team-transfers operation.
func (*Client) TournamentEvents ¶
TournamentEvents calls the flashscore-tournament-events operation.
func (*Client) TournamentSeasons ¶
TournamentSeasons calls the flashscore-tournament-seasons operation.
func (*Client) TournamentStandings ¶
TournamentStandings calls the flashscore-tournament-standings operation.