Cleanup
- Removed archive folder
- Removed scripts folder
- Removed tests folder
- Cleared out resources folder, replaced with src
- Cleaned up .gitignore file
Documentation
- Added function, class definitions to the majority of the code base
- Massively expanded README
- Added
examples/longest_homers_last_month.py
Client
- Added functionality to
mlb_videos/client.py
so statcast params are not required upon initialization of the class - Fixed bug with
rank_df
function, the parametergroup_by
should not have been required - Added logging for video clips missing from filmroom search results
Compilation
- Added intro functionality
- Added
fps
as a parameter - Added functionality for transitions
add_transition
booltransition_padding
float (seconds)
- Added max_clip_length option
- Added functionality to upscale clips from 720 to 1080p
Filmroom Search
- Cleaned up the file path, file name responses to make more sense downstream in the client.df object
Stats API
- Expanded Game Data to include the decisions from each game (winner, loser, saver)
- The Game API also now looks deep into the data
- Added Schedule API so a list of games can be queried quickly
Statcast API
- Expanded parameters of
mlb_videos/statcast.py
fromstart_date
andend_date
tostart_date
end_date
games
batters
pitchers
teams
pitch_types
events
descriptions
- Expanded validation for parameters
- Must have
start_date
orgames
parameter to perform search
- Must have
- Addition of
_build_url
function to handle dynamic filtering of URL - Removed cache functionality