Update functions/pitch_summary_functions.py
Browse files
functions/pitch_summary_functions.py
CHANGED
|
@@ -903,7 +903,7 @@ def fangraphs_pitching_leaderboards(season: int,
|
|
| 903 |
"""
|
| 904 |
url = f"""
|
| 905 |
https://www.fangraphs.com/api/leaders/major-league/data?age=&pos=all&stats=pit&lg=all&season={season}&season1={season}
|
| 906 |
-
&startdate={start_date}&enddate={end_date}&ind=0&qual=0&type=8&month=
|
| 907 |
"""
|
| 908 |
|
| 909 |
data = requests.get(url).json()
|
|
|
|
| 903 |
"""
|
| 904 |
url = f"""
|
| 905 |
https://www.fangraphs.com/api/leaders/major-league/data?age=&pos=all&stats=pit&lg=all&season={season}&season1={season}
|
| 906 |
+
&startdate={start_date}&enddate={end_date}&ind=0&qual=0&type=8&month=1000&pageitems=500000
|
| 907 |
"""
|
| 908 |
|
| 909 |
data = requests.get(url).json()
|