Documentation
¶
Index ¶
- Constants
- Variables
- type AheadBehind
- type ClutchTime
- type Conference
- type DefenseCategory
- type Direction
- type DistanceRange
- type Division
- type DivisionSimple
- type GameScopeDetailed
- type GameScopeSimple
- type GameSegment
- type Location
- type MeasureTypeBase
- type Outcome
- type PerMode
- type PlayType
- type PlayerExperience
- type PlayerOrTeam
- type PlayerOrTeamAbbreviation
- type PlayerPosition
- type PlayerPositionAbbreviation
- type PlayerScope
- type PtMeasureType
- type RunType
- type Scope
- type SeasonSegment
- type SeasonType
- type ShotClockRange
- type Sorter
- type StarterBench
- type Stat
- type StatCategory
- type StatCategoryAbbreviation
- type StatType
- type TypeGrouping
Constants ¶
View Source
const ( AheadOrBehind AheadBehind = "Ahead or Behind" BehindOrTied = "Behind or Tied" AheadOrTied = "Ahead or Tied" DefaultAheadBehind = AheadOrBehind )
View Source
const ( Last5Minutes ClutchTime = "Last 5 Minutes" Last4Minutes = "Last 4 Minutes" Last3Minutes = "Last 3 Minutes" Last2Minutes = "Last 2 Minutes" Last1Minute = "Last 1 Minute" Last30Seconds = "Last 30 Seconds" Last10Seconds = "Last 10 Seconds" DefaultClutchTime = Last5Minutes )
View Source
const ( EastConference Conference = "East" WestConference = "West" NoneConference = "" DefaultConference = NoneConference )
View Source
const ( Overall DefenseCategory = "Overall" Threes = "3 Pointers" Twos = "2 Pointers" LessThan6ft = "Less Than 6Ft" LessThan10ft = "Less Than 10Ft" GreaterThan15ft = "Greater Than 15Ft" DefaultDefenseCategory = Overall )
View Source
const ( Asc Direction = "ASC" Desc = "DESC" DefaultDirection = Asc )
View Source
const ( Range5ft DistanceRange = "5ft Range" Range8ft = "8ft Range" ByZone = "By Zone" DefaultDistanceRange = ByZone )
View Source
const ( Atlantic DivisionSimple = "Atlantic" Central = "Central" Northwest = "Northwest" Pacific = "Pacific" Southeast = "Southeast" Southwest = "Southwest" DefaultDivisionSimple = Atlantic )
View Source
const ( EastDivision Division = "East" WestDivision = "West" DefaultDivision = EastDivision )
View Source
const ( Last10 GameScopeSimple = "Last 10" Yesterday = "Yesterday" DefaultGameScopeSimple = Last10 )
View Source
const ( GameScopeDetailedSeason GameScopeDetailed = "Season" GameScopeDetailedFinals = "Finals" DefaultGameScopeDetailed = GameScopeDetailedSeason )
View Source
const ( FirstHalf GameSegment = "First Half" SecondHalf = "Second Half" Overtime = "Overtime" DefaultGameSegment = FirstHalf )
View Source
const ( Home Location = "Home" Road = "Road" DefaultLocation = Home )
View Source
const ( Win Outcome = "W" Loss = "L" DefaultOutcome = Win )
View Source
const ( Totals PerMode = "Totals" PerGame = "PerGame" DefaultPerMode = Totals )
View Source
const ( Rookie PlayerExperience = "Rookie" Sophomore = "Sophomore" Veteran = "Veteran" DefaultPlayerExperience = Rookie )
View Source
const ( Player PlayerOrTeam = "Player" Team = "Team" DefaultPlayerOrTeam = Team )
View Source
const ( P PlayerOrTeamAbbreviation = "P" T = "T" DefaultPlayerOrTeamAbbreviation = Team )
View Source
const ( Guard PlayerPosition = "Guard" Forward = "Forward" Center = "Center" DefaultPlayerPosition = Guard )
View Source
const ( G PlayerPositionAbbreviation = "G" F = "F" C = "C" GF = "G-F" FG = "F-G" FC = "F-C" CF = "C-F" DefaultPlayerPositionAbbreviation = G )
View Source
const ( AllPlayers PlayerScope = "All Players" Rookies = "Rookies" DefaultPlayerScope = AllPlayers )
View Source
const ( Transition PlayType = "Transition" Isolation = "Isolation" PRBallHandler = "PRBallHandler" PRRollMan = "PRRollman" PostUp = "Postup" SpotUp = "Spotup" Handoff = "Handoff" Cut = "Cut" OffScreen = "OffScreen" Putbacks = "OffRebound" Misc = "Misc" DefaultPlayType = Transition )
View Source
const ( SpeedDistance PtMeasureType = "SpeedDistance" Rebounding = "Rebounding" Possessions = "Possessions" CatchShoot = "CatchShoot" PullUpShot = "PullUpShot" Defense = "Defense" Drives = "Drives" Passing = "Passing" ElbowTouch = "ElbowTouch" PostTouch = "PostTouch" PaintTouch = "PaintTouch" Efficiency = "Efficiency" DefaultPtMeasureType = SpeedDistance )
View Source
const ( DefaultStartRange = "0" DefaultEndRange = "0" DefaultRangeType = "0" )
View Source
const ( RSScope Scope = "RS" SScope = "S" RookiesScope = "Rookies" DefaultScope = SScope )
View Source
const ( Regular SeasonType = "Regular Season" PreSeason = "Pre Season" Playoffs = "Playoff" AllStar = "All Star" DefaultSeasonType = Regular )
View Source
const ( PostAllStar SeasonSegment = "Post All-Star" PreAllStar = "Pre All-Star" DefaultSeasonSegment = PostAllStar )
View Source
const ( Range2224 ShotClockRange = "24-22" Range1822 = "22-18 Very Early" Range1518 = "18-15 Early" Range715 = "15-7 Average" Range47 = "7-4 Late" Range04 = "4-0 Very Late" ShotClockOff = "ShotClock Off" Empty = "" DefaultShotClockRange = ShotClockOff )
View Source
const ( SorterFGM Sorter = "FGM" SorterFGA = "FGA" SorterFG_PCT = "FG_PCT" SorterFG3M = "FG3M" SorterFG3A = "FG3A" SorterFG3_PCT = "FG3_PCT" SorterFTM = "FTM" SorterFTA = "FTA" SorterFT_PCT = "FT_PCT" SorterOREB = "OREB" SorterDREB = "DREB" SorterAST = "AST" SorterSTL = "STL" SorterBLK = "BLK" SorterTOV = "TOV" SorterREB = "REB" SorterPTS = "PTS" SorterDate = "DATE" DefaultSorter = SorterDate )
View Source
const ( Starters StarterBench = "Starters" Bench = "Bench" DefaultStarterBench = Starters )
View Source
const ( Points Stat = "PTS" Rebounds = "REB" Assists = "AST" FieldGoalPercent = "FG_PCT" FreeThrowPercent = "FT_PCT" ThreesPercent = "FG3_PCT" Steals = "STL" Blocks = "BLK" DefaultStat = Points )
View Source
const ( StatCategoryPoints StatCategory = "Points" StatCategoryRebounds = "Rebounds" StatCategoryAssists = "Assists" StatCategoryDefense = "Defense" StatCategoryClutch = "Clutch" StatCategoryPlaymaking = "Playmaking" StatCategoryEfficiency = "Efficiency" StatCategoryFastBreak = "Fast Break" StatCategoryScoringBreakdown = "Scoring Breakdown" DefaultStatCategory = StatCategoryPoints )
View Source
const ( PTS StatCategoryAbbreviation = "PTS" FGM = "FGM" FGA = "FGA" FG_PCT = "FG_PCT" FG3M = "FG3M" FG3A = "FG3A" FG3_PCT = "FG3_PCT" FTM = "FTM" FTA = "FTA" OREB = "OREB" DREB = "DREB" AST = "AST" STL = "STL" BLK = "BLK" TOV = "TOV" REB = "REB" DefaultStatCategoryAbbreviation = PTS )
View Source
const ( Traditional StatType = "Traditional" Advanced = "Advanced" Tracking = "Tracking" DefaultStatType = Traditional )
View Source
const ( Offensive TypeGrouping = "offensive" Defensive = "defensive" DefaultTypeGrouping = Offensive )
Variables ¶
View Source
var ( GroupQuantity = func(i int) string { return strconv.Itoa(i) } DefaultGroupQuantity = "5" )
View Source
var ( LastNGames = func(i int) string { return strconv.Itoa(i) } DefaultLastNGames = "0" )
View Source
var ( NumberOfGames = func(i int) string { return strconv.Itoa(i) } DefaultNumberOfGames = "2147483647" )
View Source
var ( PointDiff = func(i int) string { return strconv.Itoa(i) } DefaultPointDiff = "5" )
View Source
var ( Season = func(t time.Time) string { cur := t.Year() if t.Month() <= 9 { cur = cur - 1 } nxt := strconv.Itoa(cur + 1)[2:] return fmt.Sprintf("%d-%s", cur, nxt) } CurrentSeason = Season(time.Now()) )
SeasonYear:
View Source
var LeagueID = leagueID{}
View Source
var Period = period{}
Functions ¶
This section is empty.
Types ¶
type AheadBehind ¶
type AheadBehind string
type ClutchTime ¶
type ClutchTime string
type Conference ¶
type Conference string
type DefenseCategory ¶
type DefenseCategory string
type DistanceRange ¶
type DistanceRange string
type DivisionSimple ¶
type DivisionSimple string
type GameScopeSimple ¶
type GameScopeSimple string
type GameSegment ¶
type GameSegment string
type MeasureTypeBase ¶
type MeasureTypeBase string
const ( Base MeasureTypeBase = "Base" DefaultMeasureTypeBase = Base )
type PlayerExperience ¶
type PlayerExperience string
type PlayerOrTeam ¶
type PlayerOrTeam string
type PlayerOrTeamAbbreviation ¶
type PlayerOrTeamAbbreviation string
type PlayerPosition ¶
type PlayerPosition string
type PlayerPositionAbbreviation ¶
type PlayerPositionAbbreviation string
type PlayerScope ¶
type PlayerScope string
type PtMeasureType ¶
type PtMeasureType string
type SeasonSegment ¶
type SeasonSegment string
type SeasonType ¶
type SeasonType string
type ShotClockRange ¶
type ShotClockRange string
type StarterBench ¶
type StarterBench string
type StatCategory ¶
type StatCategory string
type StatCategoryAbbreviation ¶
type StatCategoryAbbreviation string
type TypeGrouping ¶
type TypeGrouping string
Click to show internal directories.
Click to hide internal directories.