Commit Graph

80 Commits

Author SHA1 Message Date
Cal Corum
fae1439365 Season 9 Additions 2024-01-14 22:44:23 -06:00
Cal Corum
025445bb99 Parameter modernization 2023-12-21 00:09:44 -06:00
Cal Corum
1168d7abaa Param updates to /plays 2023-12-04 13:38:53 -06:00
Cal Corum
342eb50362 Update stratplay.py
Add page_num param to play queries
2023-11-29 09:57:23 -06:00
Cal Corum
85b855492f Update stratplay.py
Add pitcher_team_id to raw plays
2023-11-05 00:53:51 -05:00
Cal Corum
9f635630e5 Added error check for pitchers with 0 ABs 2023-10-14 23:44:31 -05:00
Cal Corum
523b0a760e Add GHOST to position list 2023-10-04 23:25:25 -05:00
Cal Corum
c9655b8266 Added player_name param to /awards 2023-09-17 21:38:31 -05:00
Cal Corum
ff27abd408 Updated /plays/fielding 2023-09-17 11:47:45 -05:00
Cal Corum
b8c1096b86 Added play_num param to /plays 2023-09-16 18:36:50 -05:00
Cal Corum
1fa2a207ee Update csv exports 2023-09-15 22:38:37 -05:00
Cal Corum
761a279fc8 Added complex_to_csv 2023-09-15 01:29:00 -05:00
Cal Corum
63641dafb3 Update db_engine.py
Handle count() == 0 bug
2023-09-15 00:36:22 -05:00
Cal Corum
5fae0a30df Add query_to_csv 2023-09-15 00:03:23 -05:00
Cal Corum
bc37568c8e Update stratplay.py
Fix SB stats in playergame group_by
2023-09-11 23:19:14 -05:00
Cal Corum
d8ef59dae0 Stat updates for website 2023-09-10 19:16:36 -05:00
Cal Corum
aa53c4072b Update .gitignore 2023-09-07 13:15:06 -05:00
Cal Corum
5e773b3076 Update stratplay.py
Fixed woba bug with 1 PA & 1 IBB
2023-09-01 12:41:47 -05:00
Cal Corum
f9c578187e Update stratplay.py
- Added hit param to /plays
- Added to /plays/batting and /plays/pitching:
-- "league"  group_by option
-- inning param
-- rbi% output
2023-08-31 11:41:34 -05:00
Cal Corum
b3d2854210 Added left on base stats 2023-08-29 15:04:02 -05:00
Cal Corum
f6e9e6c7fd Standings updates
Added /standings/team/{id} endpoint
Fixed pythag calculation
2023-08-24 14:29:07 -05:00
Cal Corum
5110d8b497 Fix WC GB bug 2023-08-23 11:25:11 -05:00
Cal Corum
280280855c Update stratplay.py
- Added min_wpa and max_wpa to /plays and /plays/batting
- Added newest and oldest to sort options in /plays
- Added playergame and teamgame to group_by in /plays/batting and /plays/pitching
2023-08-22 16:35:59 -05:00
Cal Corum
211055d8b3 Update stratplay.py
added is_scoring_play
added _ to is_defender_or_catcher
2023-08-22 10:30:17 -05:00
Cal Corum
1b653943a5 Update rest_ip from int to float 2023-08-19 01:14:55 -05:00
Cal Corum
3ebf9698b2 Added obc and risp as parameters to plays/batting and /pitching 2023-08-18 14:52:43 -05:00
Cal Corum
85c8b441fa Update standings calculations 2023-08-11 09:32:35 -05:00
Cal Corum
03956191ab Update stratplay.py
add catcher & defender checks
2023-08-09 16:00:38 -05:00
Cal Corum
b259f8b693 Update stratplay.py
Add teamposition grouping
2023-08-07 15:09:20 -05:00
Cal Corum
08e54e10a1 Update stratplay.py
Add position grouping to /fielding
Add rate stats to /pitching
2023-08-07 10:35:30 -05:00
Cal Corum
17e9ed100a Add OPS to pitching and batting plays 2023-08-07 10:17:35 -05:00
Cal Corum
505d0a1a8a Add divisions, update standings 2023-08-05 00:28:00 -05:00
Cal Corum
474448556e Update stratplay.py 2023-08-03 23:05:20 -05:00
Cal Corum
6396250bf6 Add baserunning stats to /plays/batting 2023-08-03 22:20:58 -05:00
Cal Corum
cc1cb66593 Update stratplay.py
First pass at offensive stat totals
2023-08-01 23:46:46 -05:00
Cal Corum
302d3fe3ac add game_id param to decisions 2023-07-31 23:02:13 -05:00
Cal Corum
147b77b851 add wpa sort to plays 2023-07-31 00:29:17 -05:00
Cal Corum
cc3ff1d071 Add managers to /games 2023-07-31 00:29:04 -05:00
Cal Corum
2d235eb6f0 add /wipe/game 2023-07-29 01:35:39 -05:00
Cal Corum
40df835d98 /plays and /decisions
Added /plays validators for scorecard, first pass at /decisions
2023-07-29 00:13:07 -05:00
Cal Corum
5718ce1af9 /injuries fully functional 2023-07-27 23:41:57 -05:00
Cal Corum
5a5146c1cf Added logging to each router 2023-07-26 14:06:21 -05:00
Cal Corum
6e299f01cb /plays fully functional 2023-07-26 13:14:30 -05:00
Cal Corum
be229c3236 Added /plays 2023-07-26 08:31:43 -05:00
Cal Corum
dd027f7fa0 Added /games 2023-07-25 00:19:33 -05:00
Cal Corum
6faec225d3
Merge pull request #2 from calcorum/api-rebuild
Api rebuild
2023-07-24 23:06:53 -05:00
Cal Corum
6c03eabfe3 Season 8 Draft Fixes 2023-07-24 23:04:26 -05:00
Cal Corum
8f316fb406 Season 8 updates to players 2023-07-17 23:09:04 -05:00
Cal Corum
115a50c50a Typo fixes 2023-07-17 23:08:53 -05:00
Cal Corum
1f007c654c Add sorting to draftpicks 2023-07-17 23:08:37 -05:00