uberfastman / yfpy

Python API wrapper for the Yahoo Fantasy Sports public API (supports NFL, NHL, MLB, and NBA).
https://pypi.org/project/yfpy/
GNU General Public License v3.0
163 stars 44 forks source link

[Feature Request] Possible to add ownership percentage by date? #57

Open PChabelski opened 2 months ago

PChabelski commented 2 months ago

Description

Hello! I am curious if the yahoo backend allows for the ability to pull player ownership percentage per specified date, similar to how the get_player_stats_by_date works?

I tired to cobble something together in a similar fashion to the current version of get_player_percent_owned_by_week, but it only returns the current date's value.

Use case

I would like to be able to parse the % ownership by date for current/past seasons to analyze trends.