Skip to content

v1.0

Latest
Compare
Choose a tag to compare
@coperyan coperyan released this 27 Oct 12:13
· 3 commits to main since this release
c8637be

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 parameter group_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 bool
    • transition_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 from start_date and end_date to
    • start_date
    • end_date
    • games
    • batters
    • pitchers
    • teams
    • pitch_types
    • events
    • descriptions
  • Expanded validation for parameters
    • Must have start_date or games parameter to perform search
  • Addition of _build_url function to handle dynamic filtering of URL
  • Removed cache functionality