cfbd 5.21.0 → 5.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cfbd-5.22.0.tgz +0 -0
- package/dist/sdk.gen.d.ts +74 -72
- package/dist/sdk.gen.js +74 -72
- package/dist/types.gen.d.ts +291 -277
- package/package.json +1 -1
- package/src/sdk.gen.ts +74 -72
- package/src/types.gen.ts +291 -277
- package/cfbd-5.21.0.tgz +0 -0
package/dist/types.gen.d.ts
CHANGED
|
@@ -1741,15 +1741,15 @@ export type Venue = {
|
|
|
1741
1741
|
export type GetAdjustedTeamSeasonStatsData = {
|
|
1742
1742
|
query?: {
|
|
1743
1743
|
/**
|
|
1744
|
-
*
|
|
1744
|
+
* Conference name or abbreviation.
|
|
1745
1745
|
*/
|
|
1746
1746
|
conference?: string;
|
|
1747
1747
|
/**
|
|
1748
|
-
*
|
|
1748
|
+
* Team name.
|
|
1749
1749
|
*/
|
|
1750
1750
|
team?: string;
|
|
1751
1751
|
/**
|
|
1752
|
-
*
|
|
1752
|
+
* Season year.
|
|
1753
1753
|
*/
|
|
1754
1754
|
year?: number;
|
|
1755
1755
|
};
|
|
@@ -1759,19 +1759,19 @@ export type GetAdjustedTeamSeasonStatsError = unknown;
|
|
|
1759
1759
|
export type GetAdjustedPlayerPassingStatsData = {
|
|
1760
1760
|
query?: {
|
|
1761
1761
|
/**
|
|
1762
|
-
*
|
|
1762
|
+
* Conference abbreviation.
|
|
1763
1763
|
*/
|
|
1764
1764
|
conference?: string;
|
|
1765
1765
|
/**
|
|
1766
|
-
*
|
|
1766
|
+
* Player position abbreviation.
|
|
1767
1767
|
*/
|
|
1768
1768
|
position?: string;
|
|
1769
1769
|
/**
|
|
1770
|
-
*
|
|
1770
|
+
* Team name.
|
|
1771
1771
|
*/
|
|
1772
1772
|
team?: string;
|
|
1773
1773
|
/**
|
|
1774
|
-
*
|
|
1774
|
+
* Season year.
|
|
1775
1775
|
*/
|
|
1776
1776
|
year?: number;
|
|
1777
1777
|
};
|
|
@@ -1781,19 +1781,19 @@ export type GetAdjustedPlayerPassingStatsError = unknown;
|
|
|
1781
1781
|
export type GetAdjustedPlayerRushingStatsData = {
|
|
1782
1782
|
query?: {
|
|
1783
1783
|
/**
|
|
1784
|
-
*
|
|
1784
|
+
* Conference abbreviation.
|
|
1785
1785
|
*/
|
|
1786
1786
|
conference?: string;
|
|
1787
1787
|
/**
|
|
1788
|
-
*
|
|
1788
|
+
* Player position abbreviation.
|
|
1789
1789
|
*/
|
|
1790
1790
|
position?: string;
|
|
1791
1791
|
/**
|
|
1792
|
-
*
|
|
1792
|
+
* Team name.
|
|
1793
1793
|
*/
|
|
1794
1794
|
team?: string;
|
|
1795
1795
|
/**
|
|
1796
|
-
*
|
|
1796
|
+
* Season year.
|
|
1797
1797
|
*/
|
|
1798
1798
|
year?: number;
|
|
1799
1799
|
};
|
|
@@ -1803,15 +1803,15 @@ export type GetAdjustedPlayerRushingStatsError = unknown;
|
|
|
1803
1803
|
export type GetKickerPaarData = {
|
|
1804
1804
|
query?: {
|
|
1805
1805
|
/**
|
|
1806
|
-
*
|
|
1806
|
+
* Conference abbreviation.
|
|
1807
1807
|
*/
|
|
1808
1808
|
conference?: string;
|
|
1809
1809
|
/**
|
|
1810
|
-
*
|
|
1810
|
+
* Team name.
|
|
1811
1811
|
*/
|
|
1812
1812
|
team?: string;
|
|
1813
1813
|
/**
|
|
1814
|
-
*
|
|
1814
|
+
* Season year.
|
|
1815
1815
|
*/
|
|
1816
1816
|
year?: number;
|
|
1817
1817
|
};
|
|
@@ -1821,11 +1821,11 @@ export type GetKickerPaarError = unknown;
|
|
|
1821
1821
|
export type GetTeamsData = {
|
|
1822
1822
|
query?: {
|
|
1823
1823
|
/**
|
|
1824
|
-
*
|
|
1824
|
+
* Conference abbreviation.
|
|
1825
1825
|
*/
|
|
1826
1826
|
conference?: string;
|
|
1827
1827
|
/**
|
|
1828
|
-
*
|
|
1828
|
+
* Season year for historical conference affiliations.
|
|
1829
1829
|
*/
|
|
1830
1830
|
year?: number;
|
|
1831
1831
|
};
|
|
@@ -1835,7 +1835,7 @@ export type GetTeamsError = unknown;
|
|
|
1835
1835
|
export type GetFbsTeamsData = {
|
|
1836
1836
|
query?: {
|
|
1837
1837
|
/**
|
|
1838
|
-
*
|
|
1838
|
+
* Season year.
|
|
1839
1839
|
*/
|
|
1840
1840
|
year?: number;
|
|
1841
1841
|
};
|
|
@@ -1845,19 +1845,19 @@ export type GetFbsTeamsError = unknown;
|
|
|
1845
1845
|
export type GetMatchupData = {
|
|
1846
1846
|
query: {
|
|
1847
1847
|
/**
|
|
1848
|
-
*
|
|
1848
|
+
* Latest season year to include.
|
|
1849
1849
|
*/
|
|
1850
1850
|
maxYear?: number;
|
|
1851
1851
|
/**
|
|
1852
|
-
*
|
|
1852
|
+
* Earliest season year to include.
|
|
1853
1853
|
*/
|
|
1854
1854
|
minYear?: number;
|
|
1855
1855
|
/**
|
|
1856
|
-
* First team
|
|
1856
|
+
* First team name.
|
|
1857
1857
|
*/
|
|
1858
1858
|
team1: string;
|
|
1859
1859
|
/**
|
|
1860
|
-
* Second team
|
|
1860
|
+
* Second team name.
|
|
1861
1861
|
*/
|
|
1862
1862
|
team2: string;
|
|
1863
1863
|
};
|
|
@@ -1867,15 +1867,15 @@ export type GetMatchupError = unknown;
|
|
|
1867
1867
|
export type GetTeamsAtsData = {
|
|
1868
1868
|
query: {
|
|
1869
1869
|
/**
|
|
1870
|
-
*
|
|
1870
|
+
* Conference name or abbreviation.
|
|
1871
1871
|
*/
|
|
1872
1872
|
conference?: string;
|
|
1873
1873
|
/**
|
|
1874
|
-
*
|
|
1874
|
+
* Team name.
|
|
1875
1875
|
*/
|
|
1876
1876
|
team?: string;
|
|
1877
1877
|
/**
|
|
1878
|
-
*
|
|
1878
|
+
* Season year.
|
|
1879
1879
|
*/
|
|
1880
1880
|
year: number;
|
|
1881
1881
|
};
|
|
@@ -1885,15 +1885,15 @@ export type GetTeamsAtsError = unknown;
|
|
|
1885
1885
|
export type GetRosterData = {
|
|
1886
1886
|
query?: {
|
|
1887
1887
|
/**
|
|
1888
|
-
*
|
|
1888
|
+
* Division classification: `fbs` or `fcs`.
|
|
1889
1889
|
*/
|
|
1890
1890
|
classification?: DivisionClassification;
|
|
1891
1891
|
/**
|
|
1892
|
-
*
|
|
1892
|
+
* Team name.
|
|
1893
1893
|
*/
|
|
1894
1894
|
team?: string;
|
|
1895
1895
|
/**
|
|
1896
|
-
*
|
|
1896
|
+
* Season year. Defaults to 2025.
|
|
1897
1897
|
*/
|
|
1898
1898
|
year?: number;
|
|
1899
1899
|
};
|
|
@@ -1905,7 +1905,7 @@ export type GetConferencesError = unknown;
|
|
|
1905
1905
|
export type GetTalentData = {
|
|
1906
1906
|
query: {
|
|
1907
1907
|
/**
|
|
1908
|
-
*
|
|
1908
|
+
* Season year.
|
|
1909
1909
|
*/
|
|
1910
1910
|
year: number;
|
|
1911
1911
|
};
|
|
@@ -1917,31 +1917,31 @@ export type GetVenuesError = unknown;
|
|
|
1917
1917
|
export type GetPlayerSeasonStatsData = {
|
|
1918
1918
|
query: {
|
|
1919
1919
|
/**
|
|
1920
|
-
*
|
|
1920
|
+
* Statistical category.
|
|
1921
1921
|
*/
|
|
1922
1922
|
category?: string;
|
|
1923
1923
|
/**
|
|
1924
|
-
*
|
|
1924
|
+
* Conference name or abbreviation.
|
|
1925
1925
|
*/
|
|
1926
1926
|
conference?: string;
|
|
1927
1927
|
/**
|
|
1928
|
-
*
|
|
1928
|
+
* Latest week to include.
|
|
1929
1929
|
*/
|
|
1930
1930
|
endWeek?: number;
|
|
1931
1931
|
/**
|
|
1932
|
-
*
|
|
1932
|
+
* Season type.
|
|
1933
1933
|
*/
|
|
1934
1934
|
seasonType?: SeasonType;
|
|
1935
1935
|
/**
|
|
1936
|
-
*
|
|
1936
|
+
* Earliest week to include.
|
|
1937
1937
|
*/
|
|
1938
1938
|
startWeek?: number;
|
|
1939
1939
|
/**
|
|
1940
|
-
*
|
|
1940
|
+
* Team name.
|
|
1941
1941
|
*/
|
|
1942
1942
|
team?: string;
|
|
1943
1943
|
/**
|
|
1944
|
-
*
|
|
1944
|
+
* Season year.
|
|
1945
1945
|
*/
|
|
1946
1946
|
year: number;
|
|
1947
1947
|
};
|
|
@@ -1951,39 +1951,39 @@ export type GetPlayerSeasonStatsError = unknown;
|
|
|
1951
1951
|
export type GetPlayerSeasonSuccessRatesData = {
|
|
1952
1952
|
query?: {
|
|
1953
1953
|
/**
|
|
1954
|
-
*
|
|
1954
|
+
* Conference abbreviation.
|
|
1955
1955
|
*/
|
|
1956
1956
|
conference?: string;
|
|
1957
1957
|
/**
|
|
1958
|
-
*
|
|
1958
|
+
* Latest week to include.
|
|
1959
1959
|
*/
|
|
1960
1960
|
endWeek?: number;
|
|
1961
1961
|
/**
|
|
1962
|
-
*
|
|
1962
|
+
* Excludes garbage-time plays when `true`.
|
|
1963
1963
|
*/
|
|
1964
1964
|
excludeGarbageTime?: boolean;
|
|
1965
1965
|
/**
|
|
1966
|
-
* Player ID
|
|
1966
|
+
* Player ID. Required unless `year` is specified.
|
|
1967
1967
|
*/
|
|
1968
1968
|
playerId?: number;
|
|
1969
1969
|
/**
|
|
1970
|
-
*
|
|
1970
|
+
* Season type.
|
|
1971
1971
|
*/
|
|
1972
1972
|
seasonType?: SeasonType;
|
|
1973
1973
|
/**
|
|
1974
|
-
*
|
|
1974
|
+
* Earliest week to include.
|
|
1975
1975
|
*/
|
|
1976
1976
|
startWeek?: number;
|
|
1977
1977
|
/**
|
|
1978
|
-
*
|
|
1978
|
+
* Team name.
|
|
1979
1979
|
*/
|
|
1980
1980
|
team?: string;
|
|
1981
1981
|
/**
|
|
1982
|
-
*
|
|
1982
|
+
* Minimum credited passing and rushing plays.
|
|
1983
1983
|
*/
|
|
1984
1984
|
threshold?: number;
|
|
1985
1985
|
/**
|
|
1986
|
-
*
|
|
1986
|
+
* Season year. Required unless `playerId` is specified.
|
|
1987
1987
|
*/
|
|
1988
1988
|
year?: number;
|
|
1989
1989
|
};
|
|
@@ -1993,35 +1993,35 @@ export type GetPlayerSeasonSuccessRatesError = unknown;
|
|
|
1993
1993
|
export type GetPlayerGameSuccessRatesData = {
|
|
1994
1994
|
query: {
|
|
1995
1995
|
/**
|
|
1996
|
-
*
|
|
1996
|
+
* Conference abbreviation.
|
|
1997
1997
|
*/
|
|
1998
1998
|
conference?: string;
|
|
1999
1999
|
/**
|
|
2000
|
-
*
|
|
2000
|
+
* Excludes garbage-time plays when `true`.
|
|
2001
2001
|
*/
|
|
2002
2002
|
excludeGarbageTime?: boolean;
|
|
2003
2003
|
/**
|
|
2004
|
-
*
|
|
2004
|
+
* Player ID.
|
|
2005
2005
|
*/
|
|
2006
2006
|
playerId?: number;
|
|
2007
2007
|
/**
|
|
2008
|
-
*
|
|
2008
|
+
* Season type.
|
|
2009
2009
|
*/
|
|
2010
2010
|
seasonType?: SeasonType;
|
|
2011
2011
|
/**
|
|
2012
|
-
*
|
|
2012
|
+
* Team name.
|
|
2013
2013
|
*/
|
|
2014
2014
|
team?: string;
|
|
2015
2015
|
/**
|
|
2016
|
-
*
|
|
2016
|
+
* Minimum credited passing and rushing plays.
|
|
2017
2017
|
*/
|
|
2018
2018
|
threshold?: number;
|
|
2019
2019
|
/**
|
|
2020
|
-
* Week
|
|
2020
|
+
* Week number. Required unless `team` or `playerId` is specified.
|
|
2021
2021
|
*/
|
|
2022
2022
|
week?: number;
|
|
2023
2023
|
/**
|
|
2024
|
-
*
|
|
2024
|
+
* Season year.
|
|
2025
2025
|
*/
|
|
2026
2026
|
year: number;
|
|
2027
2027
|
};
|
|
@@ -2031,27 +2031,27 @@ export type GetPlayerGameSuccessRatesError = unknown;
|
|
|
2031
2031
|
export type GetTeamStatsData = {
|
|
2032
2032
|
query?: {
|
|
2033
2033
|
/**
|
|
2034
|
-
*
|
|
2034
|
+
* Division classification. Defaults to `fbs`.
|
|
2035
2035
|
*/
|
|
2036
2036
|
classification?: DivisionClassification;
|
|
2037
2037
|
/**
|
|
2038
|
-
*
|
|
2038
|
+
* Conference name or abbreviation.
|
|
2039
2039
|
*/
|
|
2040
2040
|
conference?: string;
|
|
2041
2041
|
/**
|
|
2042
|
-
*
|
|
2042
|
+
* Latest week to include.
|
|
2043
2043
|
*/
|
|
2044
2044
|
endWeek?: number;
|
|
2045
2045
|
/**
|
|
2046
|
-
*
|
|
2046
|
+
* Earliest week to include.
|
|
2047
2047
|
*/
|
|
2048
2048
|
startWeek?: number;
|
|
2049
2049
|
/**
|
|
2050
|
-
* Team
|
|
2050
|
+
* Team name. Required unless `year` is specified.
|
|
2051
2051
|
*/
|
|
2052
2052
|
team?: string;
|
|
2053
2053
|
/**
|
|
2054
|
-
*
|
|
2054
|
+
* Season year. Required unless `team` is specified.
|
|
2055
2055
|
*/
|
|
2056
2056
|
year?: number;
|
|
2057
2057
|
};
|
|
@@ -2063,27 +2063,28 @@ export type GetCategoriesError = unknown;
|
|
|
2063
2063
|
export type GetAdvancedSeasonStatsData = {
|
|
2064
2064
|
query?: {
|
|
2065
2065
|
/**
|
|
2066
|
-
*
|
|
2066
|
+
* Division classification. Defaults to `fbs`.
|
|
2067
2067
|
*/
|
|
2068
2068
|
classification?: DivisionClassification;
|
|
2069
2069
|
/**
|
|
2070
|
-
*
|
|
2070
|
+
* Latest week to include.
|
|
2071
2071
|
*/
|
|
2072
2072
|
endWeek?: number;
|
|
2073
2073
|
/**
|
|
2074
|
-
*
|
|
2074
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2075
|
+
* to `false`.
|
|
2075
2076
|
*/
|
|
2076
2077
|
excludeGarbageTime?: boolean;
|
|
2077
2078
|
/**
|
|
2078
|
-
*
|
|
2079
|
+
* Earliest week to include.
|
|
2079
2080
|
*/
|
|
2080
2081
|
startWeek?: number;
|
|
2081
2082
|
/**
|
|
2082
|
-
* Team
|
|
2083
|
+
* Team name. Required unless `year` is specified.
|
|
2083
2084
|
*/
|
|
2084
2085
|
team?: string;
|
|
2085
2086
|
/**
|
|
2086
|
-
*
|
|
2087
|
+
* Season year. Required unless `team` is specified.
|
|
2087
2088
|
*/
|
|
2088
2089
|
year?: number;
|
|
2089
2090
|
};
|
|
@@ -2093,27 +2094,28 @@ export type GetAdvancedSeasonStatsError = unknown;
|
|
|
2093
2094
|
export type GetAdvancedGameStatsData = {
|
|
2094
2095
|
query?: {
|
|
2095
2096
|
/**
|
|
2096
|
-
*
|
|
2097
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2098
|
+
* to `false`.
|
|
2097
2099
|
*/
|
|
2098
2100
|
excludeGarbageTime?: boolean;
|
|
2099
2101
|
/**
|
|
2100
|
-
*
|
|
2102
|
+
* Opponent team name.
|
|
2101
2103
|
*/
|
|
2102
2104
|
opponent?: string;
|
|
2103
2105
|
/**
|
|
2104
|
-
*
|
|
2106
|
+
* Season type.
|
|
2105
2107
|
*/
|
|
2106
2108
|
seasonType?: SeasonType;
|
|
2107
2109
|
/**
|
|
2108
|
-
* Team
|
|
2110
|
+
* Team name. Required unless `year` is specified.
|
|
2109
2111
|
*/
|
|
2110
2112
|
team?: string;
|
|
2111
2113
|
/**
|
|
2112
|
-
*
|
|
2114
|
+
* Week number.
|
|
2113
2115
|
*/
|
|
2114
2116
|
week?: number;
|
|
2115
2117
|
/**
|
|
2116
|
-
*
|
|
2118
|
+
* Season year. Required unless `team` is specified.
|
|
2117
2119
|
*/
|
|
2118
2120
|
year?: number;
|
|
2119
2121
|
};
|
|
@@ -2123,23 +2125,23 @@ export type GetAdvancedGameStatsError = unknown;
|
|
|
2123
2125
|
export type GetGameHavocStatsData = {
|
|
2124
2126
|
query?: {
|
|
2125
2127
|
/**
|
|
2126
|
-
*
|
|
2128
|
+
* Opponent team name.
|
|
2127
2129
|
*/
|
|
2128
2130
|
opponent?: string;
|
|
2129
2131
|
/**
|
|
2130
|
-
*
|
|
2132
|
+
* Season type.
|
|
2131
2133
|
*/
|
|
2132
2134
|
seasonType?: SeasonType;
|
|
2133
2135
|
/**
|
|
2134
|
-
* Team
|
|
2136
|
+
* Team name. Required unless `year` is specified.
|
|
2135
2137
|
*/
|
|
2136
2138
|
team?: string;
|
|
2137
2139
|
/**
|
|
2138
|
-
*
|
|
2140
|
+
* Week number.
|
|
2139
2141
|
*/
|
|
2140
2142
|
week?: number;
|
|
2141
2143
|
/**
|
|
2142
|
-
*
|
|
2144
|
+
* Season year. Required unless `team` is specified.
|
|
2143
2145
|
*/
|
|
2144
2146
|
year?: number;
|
|
2145
2147
|
};
|
|
@@ -2149,23 +2151,23 @@ export type GetGameHavocStatsError = unknown;
|
|
|
2149
2151
|
export type GetRecruitsData = {
|
|
2150
2152
|
query?: {
|
|
2151
2153
|
/**
|
|
2152
|
-
*
|
|
2154
|
+
* Recruit classification. Defaults to `HighSchool`.
|
|
2153
2155
|
*/
|
|
2154
2156
|
classification?: RecruitClassification;
|
|
2155
2157
|
/**
|
|
2156
|
-
*
|
|
2158
|
+
* Position category.
|
|
2157
2159
|
*/
|
|
2158
2160
|
position?: string;
|
|
2159
2161
|
/**
|
|
2160
|
-
*
|
|
2162
|
+
* State or province abbreviation.
|
|
2161
2163
|
*/
|
|
2162
2164
|
state?: string;
|
|
2163
2165
|
/**
|
|
2164
|
-
* Team
|
|
2166
|
+
* Team name. Required unless `year` is specified.
|
|
2165
2167
|
*/
|
|
2166
2168
|
team?: string;
|
|
2167
2169
|
/**
|
|
2168
|
-
*
|
|
2170
|
+
* Recruiting class year. Required unless `team` is specified.
|
|
2169
2171
|
*/
|
|
2170
2172
|
year?: number;
|
|
2171
2173
|
};
|
|
@@ -2175,11 +2177,11 @@ export type GetRecruitsError = unknown;
|
|
|
2175
2177
|
export type GetTeamRecruitingRankingsData = {
|
|
2176
2178
|
query?: {
|
|
2177
2179
|
/**
|
|
2178
|
-
*
|
|
2180
|
+
* Team name.
|
|
2179
2181
|
*/
|
|
2180
2182
|
team?: string;
|
|
2181
2183
|
/**
|
|
2182
|
-
*
|
|
2184
|
+
* Recruiting class year.
|
|
2183
2185
|
*/
|
|
2184
2186
|
year?: number;
|
|
2185
2187
|
};
|
|
@@ -2189,23 +2191,23 @@ export type GetTeamRecruitingRankingsError = unknown;
|
|
|
2189
2191
|
export type GetAggregatedTeamRecruitingRatingsData = {
|
|
2190
2192
|
query?: {
|
|
2191
2193
|
/**
|
|
2192
|
-
*
|
|
2194
|
+
* Conference name or abbreviation.
|
|
2193
2195
|
*/
|
|
2194
2196
|
conference?: string;
|
|
2195
2197
|
/**
|
|
2196
|
-
*
|
|
2198
|
+
* Latest recruiting class year. Defaults to the current year.
|
|
2197
2199
|
*/
|
|
2198
2200
|
endYear?: number;
|
|
2199
2201
|
/**
|
|
2200
|
-
*
|
|
2202
|
+
* Recruit classification. Defaults to `HighSchool`.
|
|
2201
2203
|
*/
|
|
2202
2204
|
recruitType?: RecruitClassification;
|
|
2203
2205
|
/**
|
|
2204
|
-
*
|
|
2206
|
+
* Earliest recruiting class year. Defaults to 2000.
|
|
2205
2207
|
*/
|
|
2206
2208
|
startYear?: number;
|
|
2207
2209
|
/**
|
|
2208
|
-
*
|
|
2210
|
+
* Team name.
|
|
2209
2211
|
*/
|
|
2210
2212
|
team?: string;
|
|
2211
2213
|
};
|
|
@@ -2215,11 +2217,11 @@ export type GetAggregatedTeamRecruitingRatingsError = unknown;
|
|
|
2215
2217
|
export type GetSpData = {
|
|
2216
2218
|
query?: {
|
|
2217
2219
|
/**
|
|
2218
|
-
* Team
|
|
2220
|
+
* Team name. Required unless `year` is specified.
|
|
2219
2221
|
*/
|
|
2220
2222
|
team?: string;
|
|
2221
2223
|
/**
|
|
2222
|
-
*
|
|
2224
|
+
* Season year. Required unless `team` is specified.
|
|
2223
2225
|
*/
|
|
2224
2226
|
year?: number;
|
|
2225
2227
|
};
|
|
@@ -2229,15 +2231,15 @@ export type GetSpError = unknown;
|
|
|
2229
2231
|
export type GetConferenceSpData = {
|
|
2230
2232
|
query?: {
|
|
2231
2233
|
/**
|
|
2232
|
-
*
|
|
2234
|
+
* Division classification. Defaults to `fbs`.
|
|
2233
2235
|
*/
|
|
2234
2236
|
classification?: DivisionClassification;
|
|
2235
2237
|
/**
|
|
2236
|
-
*
|
|
2238
|
+
* Conference name or abbreviation.
|
|
2237
2239
|
*/
|
|
2238
2240
|
conference?: string;
|
|
2239
2241
|
/**
|
|
2240
|
-
*
|
|
2242
|
+
* Season year.
|
|
2241
2243
|
*/
|
|
2242
2244
|
year?: number;
|
|
2243
2245
|
};
|
|
@@ -2247,15 +2249,15 @@ export type GetConferenceSpError = unknown;
|
|
|
2247
2249
|
export type GetSrsData = {
|
|
2248
2250
|
query?: {
|
|
2249
2251
|
/**
|
|
2250
|
-
*
|
|
2252
|
+
* Conference name or abbreviation.
|
|
2251
2253
|
*/
|
|
2252
2254
|
conference?: string;
|
|
2253
2255
|
/**
|
|
2254
|
-
* Team
|
|
2256
|
+
* Team name. Required unless `year` is specified.
|
|
2255
2257
|
*/
|
|
2256
2258
|
team?: string;
|
|
2257
2259
|
/**
|
|
2258
|
-
*
|
|
2260
|
+
* Season year. Required unless `team` is specified.
|
|
2259
2261
|
*/
|
|
2260
2262
|
year?: number;
|
|
2261
2263
|
};
|
|
@@ -2265,19 +2267,19 @@ export type GetSrsError = unknown;
|
|
|
2265
2267
|
export type GetExpandedSrsData = {
|
|
2266
2268
|
query?: {
|
|
2267
2269
|
/**
|
|
2268
|
-
*
|
|
2270
|
+
* Division classification: `fbs` or `fcs`.
|
|
2269
2271
|
*/
|
|
2270
2272
|
classification?: DivisionClassification;
|
|
2271
2273
|
/**
|
|
2272
|
-
*
|
|
2274
|
+
* Conference name or abbreviation.
|
|
2273
2275
|
*/
|
|
2274
2276
|
conference?: string;
|
|
2275
2277
|
/**
|
|
2276
|
-
* Team
|
|
2278
|
+
* Team name. Required unless `year` is specified.
|
|
2277
2279
|
*/
|
|
2278
2280
|
team?: string;
|
|
2279
2281
|
/**
|
|
2280
|
-
*
|
|
2282
|
+
* Season year. Required unless `team` is specified.
|
|
2281
2283
|
*/
|
|
2282
2284
|
year?: number;
|
|
2283
2285
|
};
|
|
@@ -2287,23 +2289,24 @@ export type GetExpandedSrsError = unknown;
|
|
|
2287
2289
|
export type GetEloData = {
|
|
2288
2290
|
query?: {
|
|
2289
2291
|
/**
|
|
2290
|
-
*
|
|
2292
|
+
* Conference name or abbreviation.
|
|
2291
2293
|
*/
|
|
2292
2294
|
conference?: string;
|
|
2293
2295
|
/**
|
|
2294
|
-
*
|
|
2296
|
+
* Season type.
|
|
2295
2297
|
*/
|
|
2296
2298
|
seasonType?: SeasonType;
|
|
2297
2299
|
/**
|
|
2298
|
-
*
|
|
2300
|
+
* Team name.
|
|
2299
2301
|
*/
|
|
2300
2302
|
team?: string;
|
|
2301
2303
|
/**
|
|
2302
|
-
*
|
|
2304
|
+
* Week number. Defaults to the latest available week in the
|
|
2305
|
+
* season.
|
|
2303
2306
|
*/
|
|
2304
2307
|
week?: number;
|
|
2305
2308
|
/**
|
|
2306
|
-
*
|
|
2309
|
+
* Season year.
|
|
2307
2310
|
*/
|
|
2308
2311
|
year?: number;
|
|
2309
2312
|
};
|
|
@@ -2313,15 +2316,15 @@ export type GetEloError = unknown;
|
|
|
2313
2316
|
export type GetFpiData = {
|
|
2314
2317
|
query?: {
|
|
2315
2318
|
/**
|
|
2316
|
-
*
|
|
2319
|
+
* Conference name or abbreviation.
|
|
2317
2320
|
*/
|
|
2318
2321
|
conference?: string;
|
|
2319
2322
|
/**
|
|
2320
|
-
*
|
|
2323
|
+
* Team name. Required unless `year` is specified.
|
|
2321
2324
|
*/
|
|
2322
2325
|
team?: string;
|
|
2323
2326
|
/**
|
|
2324
|
-
* year
|
|
2327
|
+
* Season year. Required unless `team` is specified.
|
|
2325
2328
|
*/
|
|
2326
2329
|
year?: number;
|
|
2327
2330
|
};
|
|
@@ -2331,27 +2334,30 @@ export type GetFpiError = unknown;
|
|
|
2331
2334
|
export type GetRankingsData = {
|
|
2332
2335
|
query: {
|
|
2333
2336
|
/**
|
|
2334
|
-
*
|
|
2337
|
+
* Returns the CFP snapshot marked as final when `true`. Requires
|
|
2338
|
+
* `poll=cfp` and cannot be combined with `latest`.
|
|
2335
2339
|
*/
|
|
2336
2340
|
final?: boolean;
|
|
2337
2341
|
/**
|
|
2338
|
-
*
|
|
2342
|
+
* Returns the latest CFP snapshot when `true`, preferring the
|
|
2343
|
+
* snapshot marked as final. Requires `poll=cfp` and cannot be combined with
|
|
2344
|
+
* `final`.
|
|
2339
2345
|
*/
|
|
2340
2346
|
latest?: boolean;
|
|
2341
2347
|
/**
|
|
2342
|
-
*
|
|
2348
|
+
* Poll name.
|
|
2343
2349
|
*/
|
|
2344
2350
|
poll?: RankingPoll;
|
|
2345
2351
|
/**
|
|
2346
|
-
*
|
|
2352
|
+
* Season type.
|
|
2347
2353
|
*/
|
|
2348
2354
|
seasonType?: SeasonType;
|
|
2349
2355
|
/**
|
|
2350
|
-
*
|
|
2356
|
+
* Poll week.
|
|
2351
2357
|
*/
|
|
2352
2358
|
week?: number;
|
|
2353
2359
|
/**
|
|
2354
|
-
*
|
|
2360
|
+
* Season year.
|
|
2355
2361
|
*/
|
|
2356
2362
|
year: number;
|
|
2357
2363
|
};
|
|
@@ -2363,47 +2369,47 @@ export type GetRankingsError = ({
|
|
|
2363
2369
|
export type GetPlaysData = {
|
|
2364
2370
|
query: {
|
|
2365
2371
|
/**
|
|
2366
|
-
*
|
|
2372
|
+
* Division classification of either team.
|
|
2367
2373
|
*/
|
|
2368
2374
|
classification?: DivisionClassification;
|
|
2369
2375
|
/**
|
|
2370
|
-
*
|
|
2376
|
+
* Conference of either team.
|
|
2371
2377
|
*/
|
|
2372
2378
|
conference?: string;
|
|
2373
2379
|
/**
|
|
2374
|
-
*
|
|
2380
|
+
* Defensive team name.
|
|
2375
2381
|
*/
|
|
2376
2382
|
defense?: string;
|
|
2377
2383
|
/**
|
|
2378
|
-
*
|
|
2384
|
+
* Defensive team conference.
|
|
2379
2385
|
*/
|
|
2380
2386
|
defenseConference?: string;
|
|
2381
2387
|
/**
|
|
2382
|
-
*
|
|
2388
|
+
* Offensive team name.
|
|
2383
2389
|
*/
|
|
2384
2390
|
offense?: string;
|
|
2385
2391
|
/**
|
|
2386
|
-
*
|
|
2392
|
+
* Offensive team conference.
|
|
2387
2393
|
*/
|
|
2388
2394
|
offenseConference?: string;
|
|
2389
2395
|
/**
|
|
2390
|
-
*
|
|
2396
|
+
* Play type abbreviation.
|
|
2391
2397
|
*/
|
|
2392
2398
|
playType?: string;
|
|
2393
2399
|
/**
|
|
2394
|
-
*
|
|
2400
|
+
* Season type.
|
|
2395
2401
|
*/
|
|
2396
2402
|
seasonType?: SeasonType;
|
|
2397
2403
|
/**
|
|
2398
|
-
*
|
|
2404
|
+
* Team name on either side of the play.
|
|
2399
2405
|
*/
|
|
2400
2406
|
team?: string;
|
|
2401
2407
|
/**
|
|
2402
|
-
*
|
|
2408
|
+
* Week number.
|
|
2403
2409
|
*/
|
|
2404
2410
|
week: number;
|
|
2405
2411
|
/**
|
|
2406
|
-
*
|
|
2412
|
+
* Season year.
|
|
2407
2413
|
*/
|
|
2408
2414
|
year: number;
|
|
2409
2415
|
};
|
|
@@ -2415,35 +2421,35 @@ export type GetPlayTypesError = unknown;
|
|
|
2415
2421
|
export type GetPlayStatsData = {
|
|
2416
2422
|
query?: {
|
|
2417
2423
|
/**
|
|
2418
|
-
*
|
|
2424
|
+
* Athlete ID.
|
|
2419
2425
|
*/
|
|
2420
2426
|
athleteId?: number;
|
|
2421
2427
|
/**
|
|
2422
|
-
*
|
|
2428
|
+
* Conference name or abbreviation.
|
|
2423
2429
|
*/
|
|
2424
2430
|
conference?: string;
|
|
2425
2431
|
/**
|
|
2426
|
-
*
|
|
2432
|
+
* Game ID.
|
|
2427
2433
|
*/
|
|
2428
2434
|
gameId?: number;
|
|
2429
2435
|
/**
|
|
2430
|
-
*
|
|
2436
|
+
* Season type.
|
|
2431
2437
|
*/
|
|
2432
2438
|
seasonType?: SeasonType;
|
|
2433
2439
|
/**
|
|
2434
|
-
*
|
|
2440
|
+
* Play stat type ID.
|
|
2435
2441
|
*/
|
|
2436
2442
|
statTypeId?: number;
|
|
2437
2443
|
/**
|
|
2438
|
-
*
|
|
2444
|
+
* Team name.
|
|
2439
2445
|
*/
|
|
2440
2446
|
team?: string;
|
|
2441
2447
|
/**
|
|
2442
|
-
*
|
|
2448
|
+
* Week number.
|
|
2443
2449
|
*/
|
|
2444
2450
|
week?: number;
|
|
2445
2451
|
/**
|
|
2446
|
-
*
|
|
2452
|
+
* Season year.
|
|
2447
2453
|
*/
|
|
2448
2454
|
year?: number;
|
|
2449
2455
|
};
|
|
@@ -2455,7 +2461,7 @@ export type GetPlayStatTypesError = unknown;
|
|
|
2455
2461
|
export type GetCfpPlayoffData = {
|
|
2456
2462
|
query: {
|
|
2457
2463
|
/**
|
|
2458
|
-
*
|
|
2464
|
+
* Season year.
|
|
2459
2465
|
*/
|
|
2460
2466
|
year: number;
|
|
2461
2467
|
};
|
|
@@ -2467,7 +2473,7 @@ export type GetCfpPlayoffError = ({
|
|
|
2467
2473
|
export type GetCfpParticipantsData = {
|
|
2468
2474
|
query: {
|
|
2469
2475
|
/**
|
|
2470
|
-
*
|
|
2476
|
+
* Season year.
|
|
2471
2477
|
*/
|
|
2472
2478
|
year: number;
|
|
2473
2479
|
};
|
|
@@ -2479,11 +2485,11 @@ export type GetCfpParticipantsError = ({
|
|
|
2479
2485
|
export type GetCfpGamesData = {
|
|
2480
2486
|
query: {
|
|
2481
2487
|
/**
|
|
2482
|
-
*
|
|
2488
|
+
* Playoff round.
|
|
2483
2489
|
*/
|
|
2484
2490
|
round?: PlayoffRound;
|
|
2485
2491
|
/**
|
|
2486
|
-
*
|
|
2492
|
+
* Season year.
|
|
2487
2493
|
*/
|
|
2488
2494
|
year: number;
|
|
2489
2495
|
};
|
|
@@ -2495,19 +2501,19 @@ export type GetCfpGamesError = ({
|
|
|
2495
2501
|
export type SearchPlayersData = {
|
|
2496
2502
|
query: {
|
|
2497
2503
|
/**
|
|
2498
|
-
*
|
|
2504
|
+
* Player position abbreviation.
|
|
2499
2505
|
*/
|
|
2500
2506
|
position?: string;
|
|
2501
2507
|
/**
|
|
2502
|
-
*
|
|
2508
|
+
* Full or partial player name.
|
|
2503
2509
|
*/
|
|
2504
2510
|
searchTerm: string;
|
|
2505
2511
|
/**
|
|
2506
|
-
*
|
|
2512
|
+
* Team name.
|
|
2507
2513
|
*/
|
|
2508
2514
|
team?: string;
|
|
2509
2515
|
/**
|
|
2510
|
-
*
|
|
2516
|
+
* Season year.
|
|
2511
2517
|
*/
|
|
2512
2518
|
year?: number;
|
|
2513
2519
|
};
|
|
@@ -2517,27 +2523,28 @@ export type SearchPlayersError = unknown;
|
|
|
2517
2523
|
export type GetPlayerUsageData = {
|
|
2518
2524
|
query: {
|
|
2519
2525
|
/**
|
|
2520
|
-
*
|
|
2526
|
+
* Conference abbreviation.
|
|
2521
2527
|
*/
|
|
2522
2528
|
conference?: string;
|
|
2523
2529
|
/**
|
|
2524
|
-
*
|
|
2530
|
+
* Excludes garbage-time plays when `true`. Defaults
|
|
2531
|
+
* to `false`.
|
|
2525
2532
|
*/
|
|
2526
2533
|
excludeGarbageTime?: boolean;
|
|
2527
2534
|
/**
|
|
2528
|
-
*
|
|
2535
|
+
* Player ID.
|
|
2529
2536
|
*/
|
|
2530
2537
|
playerId?: number;
|
|
2531
2538
|
/**
|
|
2532
|
-
*
|
|
2539
|
+
* Player position abbreviation.
|
|
2533
2540
|
*/
|
|
2534
2541
|
position?: string;
|
|
2535
2542
|
/**
|
|
2536
|
-
*
|
|
2543
|
+
* Team name.
|
|
2537
2544
|
*/
|
|
2538
2545
|
team?: string;
|
|
2539
2546
|
/**
|
|
2540
|
-
*
|
|
2547
|
+
* Season year.
|
|
2541
2548
|
*/
|
|
2542
2549
|
year: number;
|
|
2543
2550
|
};
|
|
@@ -2547,11 +2554,11 @@ export type GetPlayerUsageError = unknown;
|
|
|
2547
2554
|
export type GetPlayerSeasonOverviewData = {
|
|
2548
2555
|
query: {
|
|
2549
2556
|
/**
|
|
2550
|
-
*
|
|
2557
|
+
* Player ID.
|
|
2551
2558
|
*/
|
|
2552
2559
|
playerId: number;
|
|
2553
2560
|
/**
|
|
2554
|
-
*
|
|
2561
|
+
* Season year.
|
|
2555
2562
|
*/
|
|
2556
2563
|
year: number;
|
|
2557
2564
|
};
|
|
@@ -2561,15 +2568,15 @@ export type GetPlayerSeasonOverviewError = unknown;
|
|
|
2561
2568
|
export type GetReturningProductionData = {
|
|
2562
2569
|
query?: {
|
|
2563
2570
|
/**
|
|
2564
|
-
*
|
|
2571
|
+
* Conference name or abbreviation.
|
|
2565
2572
|
*/
|
|
2566
2573
|
conference?: string;
|
|
2567
2574
|
/**
|
|
2568
|
-
* Team
|
|
2575
|
+
* Team name. Required unless `year` is specified.
|
|
2569
2576
|
*/
|
|
2570
2577
|
team?: string;
|
|
2571
2578
|
/**
|
|
2572
|
-
*
|
|
2579
|
+
* Season year. Required unless `team` is specified.
|
|
2573
2580
|
*/
|
|
2574
2581
|
year?: number;
|
|
2575
2582
|
};
|
|
@@ -2579,7 +2586,7 @@ export type GetReturningProductionError = unknown;
|
|
|
2579
2586
|
export type GetTransferPortalData = {
|
|
2580
2587
|
query: {
|
|
2581
2588
|
/**
|
|
2582
|
-
*
|
|
2589
|
+
* Season year.
|
|
2583
2590
|
*/
|
|
2584
2591
|
year: number;
|
|
2585
2592
|
};
|
|
@@ -2589,11 +2596,11 @@ export type GetTransferPortalError = unknown;
|
|
|
2589
2596
|
export type GetPredictedPointsData = {
|
|
2590
2597
|
query: {
|
|
2591
2598
|
/**
|
|
2592
|
-
* Distance
|
|
2599
|
+
* Distance to gain, in yards.
|
|
2593
2600
|
*/
|
|
2594
2601
|
distance: number;
|
|
2595
2602
|
/**
|
|
2596
|
-
* Down
|
|
2603
|
+
* Down number.
|
|
2597
2604
|
*/
|
|
2598
2605
|
down: number;
|
|
2599
2606
|
};
|
|
@@ -2603,23 +2610,23 @@ export type GetPredictedPointsError = unknown;
|
|
|
2603
2610
|
export type GetPredictedPointsAddedByTeamData = {
|
|
2604
2611
|
query?: {
|
|
2605
2612
|
/**
|
|
2606
|
-
*
|
|
2613
|
+
* Division classification. Defaults to `fbs`.
|
|
2607
2614
|
*/
|
|
2608
2615
|
classification?: DivisionClassification;
|
|
2609
2616
|
/**
|
|
2610
|
-
* Conference abbreviation
|
|
2617
|
+
* Conference abbreviation.
|
|
2611
2618
|
*/
|
|
2612
2619
|
conference?: string;
|
|
2613
2620
|
/**
|
|
2614
|
-
*
|
|
2621
|
+
* Excludes garbage-time plays when `true`.
|
|
2615
2622
|
*/
|
|
2616
2623
|
excludeGarbageTime?: boolean;
|
|
2617
2624
|
/**
|
|
2618
|
-
* Team
|
|
2625
|
+
* Team name. Required unless `year` is specified.
|
|
2619
2626
|
*/
|
|
2620
2627
|
team?: string;
|
|
2621
2628
|
/**
|
|
2622
|
-
*
|
|
2629
|
+
* Season year. Required unless `team` is specified.
|
|
2623
2630
|
*/
|
|
2624
2631
|
year?: number;
|
|
2625
2632
|
};
|
|
@@ -2629,31 +2636,31 @@ export type GetPredictedPointsAddedByTeamError = unknown;
|
|
|
2629
2636
|
export type GetPredictedPointsAddedByGameData = {
|
|
2630
2637
|
query: {
|
|
2631
2638
|
/**
|
|
2632
|
-
*
|
|
2639
|
+
* Division classification. Defaults to `fbs`.
|
|
2633
2640
|
*/
|
|
2634
2641
|
classification?: DivisionClassification;
|
|
2635
2642
|
/**
|
|
2636
|
-
*
|
|
2643
|
+
* Conference abbreviation.
|
|
2637
2644
|
*/
|
|
2638
2645
|
conference?: string;
|
|
2639
2646
|
/**
|
|
2640
|
-
*
|
|
2647
|
+
* Excludes garbage-time plays when `true`.
|
|
2641
2648
|
*/
|
|
2642
2649
|
excludeGarbageTime?: boolean;
|
|
2643
2650
|
/**
|
|
2644
|
-
*
|
|
2651
|
+
* Season type.
|
|
2645
2652
|
*/
|
|
2646
2653
|
seasonType?: SeasonType;
|
|
2647
2654
|
/**
|
|
2648
|
-
*
|
|
2655
|
+
* Team name.
|
|
2649
2656
|
*/
|
|
2650
2657
|
team?: string;
|
|
2651
2658
|
/**
|
|
2652
|
-
*
|
|
2659
|
+
* Week number.
|
|
2653
2660
|
*/
|
|
2654
2661
|
week?: number;
|
|
2655
2662
|
/**
|
|
2656
|
-
*
|
|
2663
|
+
* Season year.
|
|
2657
2664
|
*/
|
|
2658
2665
|
year: number;
|
|
2659
2666
|
};
|
|
@@ -2663,35 +2670,35 @@ export type GetPredictedPointsAddedByGameError = unknown;
|
|
|
2663
2670
|
export type GetPredictedPointsAddedByPlayerGameData = {
|
|
2664
2671
|
query: {
|
|
2665
2672
|
/**
|
|
2666
|
-
*
|
|
2673
|
+
* Excludes garbage-time plays when `true`.
|
|
2667
2674
|
*/
|
|
2668
2675
|
excludeGarbageTime?: boolean;
|
|
2669
2676
|
/**
|
|
2670
|
-
*
|
|
2677
|
+
* Player ID.
|
|
2671
2678
|
*/
|
|
2672
2679
|
playerId?: string;
|
|
2673
2680
|
/**
|
|
2674
|
-
*
|
|
2681
|
+
* Player position abbreviation.
|
|
2675
2682
|
*/
|
|
2676
2683
|
position?: string;
|
|
2677
2684
|
/**
|
|
2678
|
-
*
|
|
2685
|
+
* Season type.
|
|
2679
2686
|
*/
|
|
2680
2687
|
seasonType?: SeasonType;
|
|
2681
2688
|
/**
|
|
2682
|
-
* Team
|
|
2689
|
+
* Team name. Required unless `week` is specified.
|
|
2683
2690
|
*/
|
|
2684
2691
|
team?: string;
|
|
2685
2692
|
/**
|
|
2686
|
-
*
|
|
2693
|
+
* Minimum number of plays.
|
|
2687
2694
|
*/
|
|
2688
2695
|
threshold?: number;
|
|
2689
2696
|
/**
|
|
2690
|
-
* Week
|
|
2697
|
+
* Week number. Required unless `team` is specified.
|
|
2691
2698
|
*/
|
|
2692
2699
|
week?: number;
|
|
2693
2700
|
/**
|
|
2694
|
-
*
|
|
2701
|
+
* Season year.
|
|
2695
2702
|
*/
|
|
2696
2703
|
year: number;
|
|
2697
2704
|
};
|
|
@@ -2701,31 +2708,31 @@ export type GetPredictedPointsAddedByPlayerGameError = unknown;
|
|
|
2701
2708
|
export type GetPredictedPointsAddedByPlayerSeasonData = {
|
|
2702
2709
|
query?: {
|
|
2703
2710
|
/**
|
|
2704
|
-
*
|
|
2711
|
+
* Conference abbreviation.
|
|
2705
2712
|
*/
|
|
2706
2713
|
conference?: string;
|
|
2707
2714
|
/**
|
|
2708
|
-
*
|
|
2715
|
+
* Excludes garbage-time plays when `true`.
|
|
2709
2716
|
*/
|
|
2710
2717
|
excludeGarbageTime?: boolean;
|
|
2711
2718
|
/**
|
|
2712
|
-
* Player ID
|
|
2719
|
+
* Player ID. Required unless `year` is specified.
|
|
2713
2720
|
*/
|
|
2714
2721
|
playerId?: string;
|
|
2715
2722
|
/**
|
|
2716
|
-
*
|
|
2723
|
+
* Player position abbreviation.
|
|
2717
2724
|
*/
|
|
2718
2725
|
position?: string;
|
|
2719
2726
|
/**
|
|
2720
|
-
*
|
|
2727
|
+
* Team name.
|
|
2721
2728
|
*/
|
|
2722
2729
|
team?: string;
|
|
2723
2730
|
/**
|
|
2724
|
-
*
|
|
2731
|
+
* Minimum number of plays.
|
|
2725
2732
|
*/
|
|
2726
2733
|
threshold?: number;
|
|
2727
2734
|
/**
|
|
2728
|
-
*
|
|
2735
|
+
* Season year. Required unless `playerId` is specified.
|
|
2729
2736
|
*/
|
|
2730
2737
|
year?: number;
|
|
2731
2738
|
};
|
|
@@ -2735,7 +2742,7 @@ export type GetPredictedPointsAddedByPlayerSeasonError = unknown;
|
|
|
2735
2742
|
export type GetWinProbabilityData = {
|
|
2736
2743
|
query: {
|
|
2737
2744
|
/**
|
|
2738
|
-
*
|
|
2745
|
+
* Game ID.
|
|
2739
2746
|
*/
|
|
2740
2747
|
gameId: number;
|
|
2741
2748
|
};
|
|
@@ -2745,19 +2752,19 @@ export type GetWinProbabilityError = unknown;
|
|
|
2745
2752
|
export type GetPregameWinProbabilitiesData = {
|
|
2746
2753
|
query?: {
|
|
2747
2754
|
/**
|
|
2748
|
-
*
|
|
2755
|
+
* Season type.
|
|
2749
2756
|
*/
|
|
2750
2757
|
seasonType?: SeasonType;
|
|
2751
2758
|
/**
|
|
2752
|
-
*
|
|
2759
|
+
* Team name.
|
|
2753
2760
|
*/
|
|
2754
2761
|
team?: string;
|
|
2755
2762
|
/**
|
|
2756
|
-
*
|
|
2763
|
+
* Week number.
|
|
2757
2764
|
*/
|
|
2758
2765
|
week?: number;
|
|
2759
2766
|
/**
|
|
2760
|
-
*
|
|
2767
|
+
* Season year.
|
|
2761
2768
|
*/
|
|
2762
2769
|
year?: number;
|
|
2763
2770
|
};
|
|
@@ -2769,7 +2776,7 @@ export type GetFieldGoalExpectedPointsError = unknown;
|
|
|
2769
2776
|
export type GetLivePlaysData = {
|
|
2770
2777
|
query: {
|
|
2771
2778
|
/**
|
|
2772
|
-
* Game
|
|
2779
|
+
* Game ID.
|
|
2773
2780
|
*/
|
|
2774
2781
|
gameId: number;
|
|
2775
2782
|
};
|
|
@@ -2779,39 +2786,39 @@ export type GetLivePlaysError = unknown;
|
|
|
2779
2786
|
export type GetLinesData = {
|
|
2780
2787
|
query?: {
|
|
2781
2788
|
/**
|
|
2782
|
-
*
|
|
2789
|
+
* Away team name.
|
|
2783
2790
|
*/
|
|
2784
2791
|
away?: string;
|
|
2785
2792
|
/**
|
|
2786
|
-
*
|
|
2793
|
+
* Conference of either team.
|
|
2787
2794
|
*/
|
|
2788
2795
|
conference?: string;
|
|
2789
2796
|
/**
|
|
2790
|
-
*
|
|
2797
|
+
* Game ID.
|
|
2791
2798
|
*/
|
|
2792
2799
|
gameId?: number;
|
|
2793
2800
|
/**
|
|
2794
|
-
*
|
|
2801
|
+
* Home team name.
|
|
2795
2802
|
*/
|
|
2796
2803
|
home?: string;
|
|
2797
2804
|
/**
|
|
2798
|
-
*
|
|
2805
|
+
* Betting line provider.
|
|
2799
2806
|
*/
|
|
2800
2807
|
provider?: string;
|
|
2801
2808
|
/**
|
|
2802
|
-
*
|
|
2809
|
+
* Season type.
|
|
2803
2810
|
*/
|
|
2804
2811
|
seasonType?: SeasonType;
|
|
2805
2812
|
/**
|
|
2806
|
-
*
|
|
2813
|
+
* Team name on either side of the game.
|
|
2807
2814
|
*/
|
|
2808
2815
|
team?: string;
|
|
2809
2816
|
/**
|
|
2810
|
-
*
|
|
2817
|
+
* Week number.
|
|
2811
2818
|
*/
|
|
2812
2819
|
week?: number;
|
|
2813
2820
|
/**
|
|
2814
|
-
*
|
|
2821
|
+
* Season year. Required unless `gameId` is specified.
|
|
2815
2822
|
*/
|
|
2816
2823
|
year?: number;
|
|
2817
2824
|
};
|
|
@@ -2823,15 +2830,16 @@ export type GetUserInfoError = unknown;
|
|
|
2823
2830
|
export type GetUsageData = {
|
|
2824
2831
|
query?: {
|
|
2825
2832
|
/**
|
|
2826
|
-
*
|
|
2833
|
+
* API to include: `all`, `cfb`, or `cbb`.
|
|
2827
2834
|
*/
|
|
2828
2835
|
api?: UserUsageApi;
|
|
2829
2836
|
/**
|
|
2830
|
-
*
|
|
2837
|
+
* Trailing days to include. Defaults to 7; maximum 31.
|
|
2831
2838
|
*/
|
|
2832
2839
|
days?: number;
|
|
2833
2840
|
/**
|
|
2834
|
-
*
|
|
2841
|
+
* Maximum endpoint and request rows to return. Defaults to 10;
|
|
2842
|
+
* maximum 50.
|
|
2835
2843
|
*/
|
|
2836
2844
|
limit?: number;
|
|
2837
2845
|
};
|
|
@@ -2841,47 +2849,47 @@ export type GetUsageError = unknown;
|
|
|
2841
2849
|
export type GetGamesData = {
|
|
2842
2850
|
query?: {
|
|
2843
2851
|
/**
|
|
2844
|
-
*
|
|
2852
|
+
* Away team name.
|
|
2845
2853
|
*/
|
|
2846
2854
|
away?: string;
|
|
2847
2855
|
/**
|
|
2848
|
-
*
|
|
2856
|
+
* Division classification.
|
|
2849
2857
|
*/
|
|
2850
2858
|
classification?: DivisionClassification;
|
|
2851
2859
|
/**
|
|
2852
|
-
*
|
|
2860
|
+
* Playoff competition.
|
|
2853
2861
|
*/
|
|
2854
2862
|
competition?: PlayoffCompetition;
|
|
2855
2863
|
/**
|
|
2856
|
-
*
|
|
2864
|
+
* Conference of either team.
|
|
2857
2865
|
*/
|
|
2858
2866
|
conference?: string;
|
|
2859
2867
|
/**
|
|
2860
|
-
*
|
|
2868
|
+
* Home team name.
|
|
2861
2869
|
*/
|
|
2862
2870
|
home?: string;
|
|
2863
2871
|
/**
|
|
2864
|
-
* Game
|
|
2872
|
+
* Game ID. When specified, returns data for that game.
|
|
2865
2873
|
*/
|
|
2866
2874
|
id?: number;
|
|
2867
2875
|
/**
|
|
2868
|
-
*
|
|
2876
|
+
* Playoff round. Requires `competition`.
|
|
2869
2877
|
*/
|
|
2870
2878
|
round?: PlayoffRound;
|
|
2871
2879
|
/**
|
|
2872
|
-
*
|
|
2880
|
+
* Season type.
|
|
2873
2881
|
*/
|
|
2874
2882
|
seasonType?: SeasonType;
|
|
2875
2883
|
/**
|
|
2876
|
-
*
|
|
2884
|
+
* Team name on either side of the game.
|
|
2877
2885
|
*/
|
|
2878
2886
|
team?: string;
|
|
2879
2887
|
/**
|
|
2880
|
-
*
|
|
2888
|
+
* Week number.
|
|
2881
2889
|
*/
|
|
2882
2890
|
week?: number;
|
|
2883
2891
|
/**
|
|
2884
|
-
*
|
|
2892
|
+
* Season year. Required unless `id` is specified.
|
|
2885
2893
|
*/
|
|
2886
2894
|
year?: number;
|
|
2887
2895
|
};
|
|
@@ -2893,31 +2901,34 @@ export type GetGamesError = ({
|
|
|
2893
2901
|
export type GetGameTeamStatsData = {
|
|
2894
2902
|
query?: {
|
|
2895
2903
|
/**
|
|
2896
|
-
*
|
|
2904
|
+
* Division classification.
|
|
2897
2905
|
*/
|
|
2898
2906
|
classification?: DivisionClassification;
|
|
2899
2907
|
/**
|
|
2900
|
-
*
|
|
2908
|
+
* Conference name or abbreviation. One of `week`, `team`,
|
|
2909
|
+
* or `conference` is required when filtering by year.
|
|
2901
2910
|
*/
|
|
2902
2911
|
conference?: string;
|
|
2903
2912
|
/**
|
|
2904
|
-
*
|
|
2913
|
+
* Game ID. When specified, returns statistics for that game.
|
|
2905
2914
|
*/
|
|
2906
2915
|
id?: number;
|
|
2907
2916
|
/**
|
|
2908
|
-
*
|
|
2917
|
+
* Season type.
|
|
2909
2918
|
*/
|
|
2910
2919
|
seasonType?: SeasonType;
|
|
2911
2920
|
/**
|
|
2912
|
-
*
|
|
2921
|
+
* Team name. One of `week`, `team`, or `conference` is required
|
|
2922
|
+
* when filtering by year.
|
|
2913
2923
|
*/
|
|
2914
2924
|
team?: string;
|
|
2915
2925
|
/**
|
|
2916
|
-
*
|
|
2926
|
+
* Week number. One of `week`, `team`, or `conference` is required
|
|
2927
|
+
* when filtering by year.
|
|
2917
2928
|
*/
|
|
2918
2929
|
week?: number;
|
|
2919
2930
|
/**
|
|
2920
|
-
*
|
|
2931
|
+
* Season year. Required unless `id` is specified.
|
|
2921
2932
|
*/
|
|
2922
2933
|
year?: number;
|
|
2923
2934
|
};
|
|
@@ -2927,35 +2938,38 @@ export type GetGameTeamStatsError = unknown;
|
|
|
2927
2938
|
export type GetGamePlayerStatsData = {
|
|
2928
2939
|
query?: {
|
|
2929
2940
|
/**
|
|
2930
|
-
*
|
|
2941
|
+
* Player statistical category.
|
|
2931
2942
|
*/
|
|
2932
2943
|
category?: string;
|
|
2933
2944
|
/**
|
|
2934
|
-
*
|
|
2945
|
+
* Division classification.
|
|
2935
2946
|
*/
|
|
2936
2947
|
classification?: DivisionClassification;
|
|
2937
2948
|
/**
|
|
2938
|
-
*
|
|
2949
|
+
* Conference name or abbreviation. One of `week`, `team`,
|
|
2950
|
+
* or `conference` is required when filtering by year.
|
|
2939
2951
|
*/
|
|
2940
2952
|
conference?: string;
|
|
2941
2953
|
/**
|
|
2942
|
-
*
|
|
2954
|
+
* Game ID. When specified, returns statistics for that game.
|
|
2943
2955
|
*/
|
|
2944
2956
|
id?: number;
|
|
2945
2957
|
/**
|
|
2946
|
-
*
|
|
2958
|
+
* Season type.
|
|
2947
2959
|
*/
|
|
2948
2960
|
seasonType?: SeasonType;
|
|
2949
2961
|
/**
|
|
2950
|
-
*
|
|
2962
|
+
* Team name. One of `week`, `team`, or `conference` is required
|
|
2963
|
+
* when filtering by year.
|
|
2951
2964
|
*/
|
|
2952
2965
|
team?: string;
|
|
2953
2966
|
/**
|
|
2954
|
-
*
|
|
2967
|
+
* Week number. One of `week`, `team`, or `conference` is required
|
|
2968
|
+
* when filtering by year.
|
|
2955
2969
|
*/
|
|
2956
2970
|
week?: number;
|
|
2957
2971
|
/**
|
|
2958
|
-
*
|
|
2972
|
+
* Season year. Required unless `id` is specified.
|
|
2959
2973
|
*/
|
|
2960
2974
|
year?: number;
|
|
2961
2975
|
};
|
|
@@ -2965,31 +2979,31 @@ export type GetGamePlayerStatsError = unknown;
|
|
|
2965
2979
|
export type GetMediaData = {
|
|
2966
2980
|
query: {
|
|
2967
2981
|
/**
|
|
2968
|
-
*
|
|
2982
|
+
* Division classification.
|
|
2969
2983
|
*/
|
|
2970
2984
|
classification?: DivisionClassification;
|
|
2971
2985
|
/**
|
|
2972
|
-
*
|
|
2986
|
+
* Conference name or abbreviation.
|
|
2973
2987
|
*/
|
|
2974
2988
|
conference?: string;
|
|
2975
2989
|
/**
|
|
2976
|
-
*
|
|
2990
|
+
* Media type.
|
|
2977
2991
|
*/
|
|
2978
2992
|
mediaType?: MediaType;
|
|
2979
2993
|
/**
|
|
2980
|
-
*
|
|
2994
|
+
* Season type.
|
|
2981
2995
|
*/
|
|
2982
2996
|
seasonType?: SeasonType;
|
|
2983
2997
|
/**
|
|
2984
|
-
*
|
|
2998
|
+
* Team name.
|
|
2985
2999
|
*/
|
|
2986
3000
|
team?: string;
|
|
2987
3001
|
/**
|
|
2988
|
-
*
|
|
3002
|
+
* Week number.
|
|
2989
3003
|
*/
|
|
2990
3004
|
week?: number;
|
|
2991
3005
|
/**
|
|
2992
|
-
*
|
|
3006
|
+
* Season year.
|
|
2993
3007
|
*/
|
|
2994
3008
|
year: number;
|
|
2995
3009
|
};
|
|
@@ -2999,31 +3013,31 @@ export type GetMediaError = unknown;
|
|
|
2999
3013
|
export type GetWeatherData = {
|
|
3000
3014
|
query?: {
|
|
3001
3015
|
/**
|
|
3002
|
-
*
|
|
3016
|
+
* Division classification.
|
|
3003
3017
|
*/
|
|
3004
3018
|
classification?: DivisionClassification;
|
|
3005
3019
|
/**
|
|
3006
|
-
*
|
|
3020
|
+
* Conference name or abbreviation.
|
|
3007
3021
|
*/
|
|
3008
3022
|
conference?: string;
|
|
3009
3023
|
/**
|
|
3010
|
-
*
|
|
3024
|
+
* Game ID. When specified, returns weather for that game.
|
|
3011
3025
|
*/
|
|
3012
3026
|
gameId?: number;
|
|
3013
3027
|
/**
|
|
3014
|
-
*
|
|
3028
|
+
* Season type.
|
|
3015
3029
|
*/
|
|
3016
3030
|
seasonType?: SeasonType;
|
|
3017
3031
|
/**
|
|
3018
|
-
*
|
|
3032
|
+
* Team name.
|
|
3019
3033
|
*/
|
|
3020
3034
|
team?: string;
|
|
3021
3035
|
/**
|
|
3022
|
-
*
|
|
3036
|
+
* Week number.
|
|
3023
3037
|
*/
|
|
3024
3038
|
week?: number;
|
|
3025
3039
|
/**
|
|
3026
|
-
*
|
|
3040
|
+
* Season year. Required unless `gameId` is specified.
|
|
3027
3041
|
*/
|
|
3028
3042
|
year?: number;
|
|
3029
3043
|
};
|
|
@@ -3033,15 +3047,15 @@ export type GetWeatherError = unknown;
|
|
|
3033
3047
|
export type GetRecordsData = {
|
|
3034
3048
|
query?: {
|
|
3035
3049
|
/**
|
|
3036
|
-
*
|
|
3050
|
+
* Conference name or abbreviation.
|
|
3037
3051
|
*/
|
|
3038
3052
|
conference?: string;
|
|
3039
3053
|
/**
|
|
3040
|
-
* Team
|
|
3054
|
+
* Team name. Required unless `year` is specified.
|
|
3041
3055
|
*/
|
|
3042
3056
|
team?: string;
|
|
3043
3057
|
/**
|
|
3044
|
-
*
|
|
3058
|
+
* Season year. Required unless `team` is specified.
|
|
3045
3059
|
*/
|
|
3046
3060
|
year?: number;
|
|
3047
3061
|
};
|
|
@@ -3051,7 +3065,7 @@ export type GetRecordsError = unknown;
|
|
|
3051
3065
|
export type GetCalendarData = {
|
|
3052
3066
|
query: {
|
|
3053
3067
|
/**
|
|
3054
|
-
*
|
|
3068
|
+
* Season year.
|
|
3055
3069
|
*/
|
|
3056
3070
|
year: number;
|
|
3057
3071
|
};
|
|
@@ -3061,11 +3075,11 @@ export type GetCalendarError = unknown;
|
|
|
3061
3075
|
export type GetScoreboardData = {
|
|
3062
3076
|
query?: {
|
|
3063
3077
|
/**
|
|
3064
|
-
*
|
|
3078
|
+
* Division classification. Defaults to `fbs`.
|
|
3065
3079
|
*/
|
|
3066
3080
|
classification?: DivisionClassification;
|
|
3067
3081
|
/**
|
|
3068
|
-
*
|
|
3082
|
+
* Conference name or abbreviation.
|
|
3069
3083
|
*/
|
|
3070
3084
|
conference?: string;
|
|
3071
3085
|
};
|
|
@@ -3075,43 +3089,43 @@ export type GetScoreboardError = unknown;
|
|
|
3075
3089
|
export type GetDrivesData = {
|
|
3076
3090
|
query: {
|
|
3077
3091
|
/**
|
|
3078
|
-
*
|
|
3092
|
+
* Division classification of either team.
|
|
3079
3093
|
*/
|
|
3080
3094
|
classification?: DivisionClassification;
|
|
3081
3095
|
/**
|
|
3082
|
-
*
|
|
3096
|
+
* Conference of either team.
|
|
3083
3097
|
*/
|
|
3084
3098
|
conference?: string;
|
|
3085
3099
|
/**
|
|
3086
|
-
*
|
|
3100
|
+
* Defensive team name.
|
|
3087
3101
|
*/
|
|
3088
3102
|
defense?: string;
|
|
3089
3103
|
/**
|
|
3090
|
-
*
|
|
3104
|
+
* Defensive team conference.
|
|
3091
3105
|
*/
|
|
3092
3106
|
defenseConference?: string;
|
|
3093
3107
|
/**
|
|
3094
|
-
*
|
|
3108
|
+
* Offensive team name.
|
|
3095
3109
|
*/
|
|
3096
3110
|
offense?: string;
|
|
3097
3111
|
/**
|
|
3098
|
-
*
|
|
3112
|
+
* Offensive team conference.
|
|
3099
3113
|
*/
|
|
3100
3114
|
offenseConference?: string;
|
|
3101
3115
|
/**
|
|
3102
|
-
*
|
|
3116
|
+
* Season type.
|
|
3103
3117
|
*/
|
|
3104
3118
|
seasonType?: SeasonType;
|
|
3105
3119
|
/**
|
|
3106
|
-
*
|
|
3120
|
+
* Team name on either side of the drive.
|
|
3107
3121
|
*/
|
|
3108
3122
|
team?: string;
|
|
3109
3123
|
/**
|
|
3110
|
-
*
|
|
3124
|
+
* Week number.
|
|
3111
3125
|
*/
|
|
3112
3126
|
week?: number;
|
|
3113
3127
|
/**
|
|
3114
|
-
*
|
|
3128
|
+
* Season year.
|
|
3115
3129
|
*/
|
|
3116
3130
|
year: number;
|
|
3117
3131
|
};
|
|
@@ -3125,23 +3139,23 @@ export type GetDraftPositionsError = unknown;
|
|
|
3125
3139
|
export type GetDraftPicksData = {
|
|
3126
3140
|
query?: {
|
|
3127
3141
|
/**
|
|
3128
|
-
*
|
|
3142
|
+
* College conference name or abbreviation.
|
|
3129
3143
|
*/
|
|
3130
3144
|
conference?: string;
|
|
3131
3145
|
/**
|
|
3132
|
-
*
|
|
3146
|
+
* Position category.
|
|
3133
3147
|
*/
|
|
3134
3148
|
position?: string;
|
|
3135
3149
|
/**
|
|
3136
|
-
*
|
|
3150
|
+
* College team name.
|
|
3137
3151
|
*/
|
|
3138
3152
|
school?: string;
|
|
3139
3153
|
/**
|
|
3140
|
-
*
|
|
3154
|
+
* NFL team name.
|
|
3141
3155
|
*/
|
|
3142
3156
|
team?: string;
|
|
3143
3157
|
/**
|
|
3144
|
-
*
|
|
3158
|
+
* Draft year.
|
|
3145
3159
|
*/
|
|
3146
3160
|
year?: number;
|
|
3147
3161
|
};
|
|
@@ -3151,27 +3165,27 @@ export type GetDraftPicksError = unknown;
|
|
|
3151
3165
|
export type GetCoachesData = {
|
|
3152
3166
|
query?: {
|
|
3153
3167
|
/**
|
|
3154
|
-
*
|
|
3168
|
+
* Coach first name.
|
|
3155
3169
|
*/
|
|
3156
3170
|
firstName?: string;
|
|
3157
3171
|
/**
|
|
3158
|
-
*
|
|
3172
|
+
* Coach last name.
|
|
3159
3173
|
*/
|
|
3160
3174
|
lastName?: string;
|
|
3161
3175
|
/**
|
|
3162
|
-
*
|
|
3176
|
+
* Latest season year to include.
|
|
3163
3177
|
*/
|
|
3164
3178
|
maxYear?: number;
|
|
3165
3179
|
/**
|
|
3166
|
-
*
|
|
3180
|
+
* Earliest season year to include.
|
|
3167
3181
|
*/
|
|
3168
3182
|
minYear?: number;
|
|
3169
3183
|
/**
|
|
3170
|
-
*
|
|
3184
|
+
* Team name.
|
|
3171
3185
|
*/
|
|
3172
3186
|
team?: string;
|
|
3173
3187
|
/**
|
|
3174
|
-
*
|
|
3188
|
+
* Season year.
|
|
3175
3189
|
*/
|
|
3176
3190
|
year?: number;
|
|
3177
3191
|
};
|
|
@@ -3181,7 +3195,7 @@ export type GetCoachesError = unknown;
|
|
|
3181
3195
|
export type GetCoachProfileData = {
|
|
3182
3196
|
query: {
|
|
3183
3197
|
/**
|
|
3184
|
-
*
|
|
3198
|
+
* Coach ID.
|
|
3185
3199
|
*/
|
|
3186
3200
|
coachId: number;
|
|
3187
3201
|
};
|
|
@@ -3193,23 +3207,23 @@ export type GetCoachProfileError = ({
|
|
|
3193
3207
|
export type GetCoachSeasonsData = {
|
|
3194
3208
|
query?: {
|
|
3195
3209
|
/**
|
|
3196
|
-
*
|
|
3210
|
+
* Coach ID.
|
|
3197
3211
|
*/
|
|
3198
3212
|
coachId?: number;
|
|
3199
3213
|
/**
|
|
3200
|
-
*
|
|
3214
|
+
* Latest season year to include.
|
|
3201
3215
|
*/
|
|
3202
3216
|
maxYear?: number;
|
|
3203
3217
|
/**
|
|
3204
|
-
*
|
|
3218
|
+
* Earliest season year to include.
|
|
3205
3219
|
*/
|
|
3206
3220
|
minYear?: number;
|
|
3207
3221
|
/**
|
|
3208
|
-
*
|
|
3222
|
+
* Team name.
|
|
3209
3223
|
*/
|
|
3210
3224
|
team?: string;
|
|
3211
3225
|
/**
|
|
3212
|
-
*
|
|
3226
|
+
* Exact season year.
|
|
3213
3227
|
*/
|
|
3214
3228
|
year?: number;
|
|
3215
3229
|
};
|
|
@@ -3221,19 +3235,19 @@ export type GetCoachSeasonsError = ({
|
|
|
3221
3235
|
export type GetCoachTenuresData = {
|
|
3222
3236
|
query?: {
|
|
3223
3237
|
/**
|
|
3224
|
-
*
|
|
3238
|
+
* Filters by active status when specified.
|
|
3225
3239
|
*/
|
|
3226
3240
|
active?: boolean;
|
|
3227
3241
|
/**
|
|
3228
|
-
*
|
|
3242
|
+
* Coach ID.
|
|
3229
3243
|
*/
|
|
3230
3244
|
coachId?: number;
|
|
3231
3245
|
/**
|
|
3232
|
-
*
|
|
3246
|
+
* Team name.
|
|
3233
3247
|
*/
|
|
3234
3248
|
team?: string;
|
|
3235
3249
|
/**
|
|
3236
|
-
*
|
|
3250
|
+
* Season year contained within the tenure.
|
|
3237
3251
|
*/
|
|
3238
3252
|
year?: number;
|
|
3239
3253
|
};
|
|
@@ -3245,7 +3259,7 @@ export type GetCoachTenuresError = ({
|
|
|
3245
3259
|
export type GetAdvancedBoxScoreData = {
|
|
3246
3260
|
query: {
|
|
3247
3261
|
/**
|
|
3248
|
-
*
|
|
3262
|
+
* Game ID.
|
|
3249
3263
|
*/
|
|
3250
3264
|
id: number;
|
|
3251
3265
|
};
|