Closed oconnorac closed 1 year ago
Fixed in version 1.2.3, thanks for pointing that out!
To upgrade:
pip install -U yahoofantasy
You're awesome, thank you! Would've found the game_code
myself but the Yahoo! Fantasy API has been so difficult to work with, hence using your wrapper for it. Great work!
I entered the following commands using the CLI:
yahofantasy dump matchups
I then entered
nfl
and2022
, and received the following error:Recommended fix: pull the Yahoo! Fantasy 2022 NFL game codes and add it to line 50 as:
games['nfl']['2022'] = <yahoo game_code here>
https://github.com/mattdodge/yahoofantasy/blob/f8c0b5f8f650e5b093ad2742562190ca99c7da90/yahoofantasy/api/games.py#L50