Skip to content

Commit

Permalink
0.2.0 The "Patreon" Update
Browse files Browse the repository at this point in the history
- Re-implemented the process of storing a user's API key. If you have used `cfbd_json_py.utls.set_cfbd_api_token()` in the past, you do not need to do anything to migrate your API key to this new process.
- The following functions require a user to subscribe to the [CFBD Patreon](https://www.patreon.com/collegefootballdata):
  - Implemented `cfbd_json_py.games.get_cfbd_live_scoreboard()`, a function that allows a user to get live scoreboard data directly from the CFBD API, if they subscribe to the CFBD patreon.
  - Implemented `cfbd_json_py.games.get_cfbd_weather_info()`, a function that allows a user to get weather data directly from the CFBD API, if they subscribe to the CFBD patreon.
  - Partially implemented `cfbd_json_py.plays.get_cfbd_live_pbp_data()`, a function that allows someone to access live play-by-play (PBP) data, if they subscribe to the CFBD patreon.
- Implemented a new file header template for all python files.
- Applied some minor formatting changes to the python code.
- Updated the package version to `0.2.0`, because of the new season (2024).
  • Loading branch information
armstjc committed Aug 13, 2024
1 parent 44b6c5a commit 889e389
Show file tree
Hide file tree
Showing 39 changed files with 78,779 additions and 47,018 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG: cfbd_json_py

## 0.2.0 The "Patreon" Update
- Re-implemented the process of storing a user's API key. If you have used `cfbd_json_py.utls.set_cfbd_api_token()` in the past, you do not need to do anything to migrate your API key to this new process.
- The following functions require a user to subscribe to the [CFBD Patreon](https://www.patreon.com/collegefootballdata):
- Implemented `cfbd_json_py.games.get_cfbd_live_scoreboard()`, a function that allows a user to get live scoreboard data directly from the CFBD API, if they subscribe to the CFBD patreon.
- Implemented `cfbd_json_py.games.get_cfbd_weather_info()`, a function that allows a user to get weather data directly from the CFBD API, if they subscribe to the CFBD patreon.
- Partially implemented `cfbd_json_py.plays.get_cfbd_live_pbp_data()`, a function that allows someone to access live play-by-play (PBP) data, if they subscribe to the CFBD patreon.
- Implemented a new file header template for all python files.
- Applied some minor formatting changes to the python code.
- Updated the package version to `0.2.0`, because of the new season (2024).


## 0.1.2: The "Spell Check" update
- Fixed spelling errors previously present in earlier versions of this python package.
- Updated the package version to `0.1.2`.
Expand Down Expand Up @@ -173,7 +184,7 @@

- Removed the option to cache data. This may be implemented in a future version.
- Implemented `cfbd_json_py.betting.get_cfbd_betting_lines()`, a function that allows a user to get betting lines for a season, a week, and/or for a specific team for the regular season, or postseason.
- Changed `cfbd_json_py.utls.get_cfbd_api_token()`` to log, not print out the fact that the CFBD API key the function is trying to find is not present in the current Python environment.
- Changed `cfbd_json_py.utls.get_cfbd_api_token()` to log, not print out the fact that the CFBD API key the function is trying to find is not present in the current Python environment.
- Updated the package version to `0.0.2`.

## 0.0.1: The "First Steps" Update
Expand Down
4 changes: 2 additions & 2 deletions cfbd_json_py/_early_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

def about_early_access_functions():
print(
"Early Access functions are functions "
+ "generated by a generator script "
"Early Access functions are functions:\n"
+ "Generated by a generator script "
+ "when an API endpoint is created, "
+ "but not implemented yet by this python package."
)
Expand Down
4 changes: 1 addition & 3 deletions cfbd_json_py/betting.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
"""
# Creation Date: 08/30/2023 01:13 EDT
# Last Updated Date: 04/04/2024 05:10 PM EDT
# Last Updated Date: 08/13/2024 02:10 PM EDT
# Author: Joseph Armstrong ([email protected])
# File Name: betting.py
# Purpose: Houses functions pertaining to betting data within the CFBD API.
###############################################################################
"""

import warnings

Expand Down
4 changes: 1 addition & 3 deletions cfbd_json_py/coaches.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
"""
# Creation Date: 08/30/2023 01:13 EDT
# Last Updated Date: 04/04/2024 05:10 PM EDT
# Last Updated Date: 08/13/2024 02:10 PM EDT
# Author: Joseph Armstrong ([email protected])
# File Name: coaches.py
# Purpose: Houses functions pertaining to coaching data within the CFBD API.
###############################################################################
"""

import logging
import warnings
Expand Down
6 changes: 2 additions & 4 deletions cfbd_json_py/conferences.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
"""
# Creation Date: 08/30/2023 01:13 EDT
# Last Updated Date: 04/04/2024 05:10 PM EDT
# Last Updated Date: 08/13/2024 02:10 PM EDT
# Author: Joseph Armstrong ([email protected])
# File Name: conferences.py
# Purpose: Houses functions pertaining to CFB conference data
within the CFBD API.
# within the CFBD API.
###############################################################################
"""

import pandas as pd
import requests
Expand Down
8 changes: 3 additions & 5 deletions cfbd_json_py/draft.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
"""
# Creation Date: 08/30/2023 01:13 EDT
# Last Updated Date: 04/04/2024 05:10 PM EDT
# Last Updated Date: 08/13/2024 02:10 PM EDT
# Author: Joseph Armstrong ([email protected])
# File Name: draft.py
# Purpose: Houses functions pertaining to NFL Draft data within the CFBD API.
###############################################################################
"""

from datetime import datetime
import logging
from datetime import datetime

import pandas as pd
import requests

# from tqdm import tqdm

from cfbd_json_py.utls import get_cfbd_api_token


Expand Down
8 changes: 3 additions & 5 deletions cfbd_json_py/drives.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
"""
# Creation Date: 08/30/2023 01:13 EDT
# Last Updated Date: 04/04/2024 05:10 PM EDT
# Last Updated Date: 08/13/2024 02:10 PM EDT
# Author: Joseph Armstrong ([email protected])
# File Name: drives.py
# Purpose: Houses functions pertaining to CFB drive data within the CFBD API.
###############################################################################
"""

from datetime import datetime
import logging
from datetime import datetime

import pandas as pd
import requests


from cfbd_json_py.utls import get_cfbd_api_token


Expand Down
Loading

0 comments on commit 889e389

Please sign in to comment.