Documentation
¶
Index ¶
- func ExtractData(id string, MatchDescription string) (data map[string]interface{}, err error)
- func ExtractMapsResult(html string) (list []models.MapResult, err error)
- func ExtractMapsResultData(html string) (data []models.MapResult, err error)
- func ExtractMapsStats(html string) ([]models.TeamStats, error)
- func ExtractMapsVet(html string) (data []models.MapVeto, err error)
- func ExtractPlayersStats(html string) (list []models.TeamStats, err error)
- func GetMatchData(c *gin.Context)
- type LastMatchSummary
- type Match
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractData ¶
func ExtractMapsResultData ¶
func ExtractPlayersStats ¶
func GetMatchData ¶
GetMatches godoc @Summary Get information for a single match @Description Using the match ID obtained from /api/last-results, this endpoint returns detailed information about a single match, including maps, results, and team stats. @Tags Match @Accept json @Produce json @Param payload body Match true "Request payload containing the day or other filters" @Success 200 {array} LastMatchSummary "List of past match results with map links" @Failure 500 {object} models.ErrorResponse "Internal server error" @Router /api/match [post]
Types ¶
type LastMatchSummary ¶
Click to show internal directories.
Click to hide internal directories.