Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.0 The "Patreon" Update #43

Merged
merged 3 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 (armstrongjoseph08@gmail.com)
# 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 (armstrongjoseph08@gmail.com)
# 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 (armstrongjoseph08@gmail.com)
# 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 (armstrongjoseph08@gmail.com)
# 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 (armstrongjoseph08@gmail.com)
# 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
Loading