Skip to content

Commit 633468c

Browse files
feat(ratings): initial Elo rollout
1 parent c77bdf7 commit 633468c

159 files changed

Lines changed: 632 additions & 162 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ cbbd/models/shot_info_location.py
7070
cbbd/models/shot_info_shooter.py
7171
cbbd/models/shot_type_breakdown.py
7272
cbbd/models/srs_info.py
73+
cbbd/models/team_elo.py
7374
cbbd/models/team_info.py
7475
cbbd/models/team_roster.py
7576
cbbd/models/team_roster_player.py
@@ -142,6 +143,7 @@ docs/ShotInfoShooter.md
142143
docs/ShotTypeBreakdown.md
143144
docs/SrsInfo.md
144145
docs/StatsApi.md
146+
docs/TeamElo.md
145147
docs/TeamInfo.md
146148
docs/TeamRoster.md
147149
docs/TeamRosterPlayer.md
@@ -221,6 +223,7 @@ test/test_shot_info_shooter.py
221223
test/test_shot_type_breakdown.py
222224
test/test_srs_info.py
223225
test/test_stats_api.py
226+
test/test_team_elo.py
224227
test/test_team_info.py
225228
test/test_team_roster.py
226229
test/test_team_roster_player.py

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ This is an API for query various college basketball datasets and analytics. API
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 1.22.5
7-
- Package version: 1.22.5
6+
- API version: 1.23.0
7+
- Package version: 1.23.0
88
- Generator version: 7.12.0
99
- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
1010

@@ -16,9 +16,9 @@ Python 3.7+
1616
### pip install
1717

1818
```sh
19-
pip install cbbd@1.22.5
19+
pip install cbbd@1.23.0
2020
```
21-
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.22.5`)
21+
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.23.0`)
2222

2323
Then import the package:
2424
```python
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
9898
*PlaysApi* | [**get_substitutions_by_team**](docs/PlaysApi.md#get_substitutions_by_team) | **GET** /substitutions/team |
9999
*RankingsApi* | [**get_rankings**](docs/RankingsApi.md#get_rankings) | **GET** /rankings |
100100
*RatingsApi* | [**get_adjusted_efficiency**](docs/RatingsApi.md#get_adjusted_efficiency) | **GET** /ratings/adjusted |
101+
*RatingsApi* | [**get_elo**](docs/RatingsApi.md#get_elo) | **GET** /ratings/elo |
101102
*RatingsApi* | [**get_srs**](docs/RatingsApi.md#get_srs) | **GET** /ratings/srs |
102103
*RecruitingApi* | [**get_recruits**](docs/RecruitingApi.md#get_recruits) | **GET** /recruiting/players |
103104
*StatsApi* | [**get_player_season_shooting_stats**](docs/StatsApi.md#get_player_season_shooting_stats) | **GET** /stats/player/shooting/season |
@@ -158,6 +159,7 @@ Class | Method | HTTP request | Description
158159
- [ShotInfoShooter](docs/ShotInfoShooter.md)
159160
- [ShotTypeBreakdown](docs/ShotTypeBreakdown.md)
160161
- [SrsInfo](docs/SrsInfo.md)
162+
- [TeamElo](docs/TeamElo.md)
161163
- [TeamInfo](docs/TeamInfo.md)
162164
- [TeamRoster](docs/TeamRoster.md)
163165
- [TeamRosterPlayer](docs/TeamRosterPlayer.md)

cbbd/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
88
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
99
10-
The version of the OpenAPI document: 1.22.5
10+
The version of the OpenAPI document: 1.23.0
1111
Contact: admin@collegefootballdata.com
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.22.5"
18+
__version__ = "1.23.0"
1919

2020
# import apis into sdk package
2121
from cbbd.api.conferences_api import ConferencesApi
@@ -90,6 +90,7 @@
9090
from cbbd.models.shot_info_shooter import ShotInfoShooter
9191
from cbbd.models.shot_type_breakdown import ShotTypeBreakdown
9292
from cbbd.models.srs_info import SrsInfo
93+
from cbbd.models.team_elo import TeamElo
9394
from cbbd.models.team_info import TeamInfo
9495
from cbbd.models.team_roster import TeamRoster
9596
from cbbd.models.team_roster_player import TeamRosterPlayer

cbbd/api/conferences_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/draft_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/games_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/lines_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/lineups_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/plays_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/rankings_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is an API for query various college basketball datasets and analytics. API keys can be acquired by registering on the CollegeBasketballData.com website.
77
8-
The version of the OpenAPI document: 1.22.5
8+
The version of the OpenAPI document: 1.23.0
99
Contact: admin@collegefootballdata.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)