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

how can i get player projected points for that do i need to call player stats #20

Closed mihirmodiofficial closed 2 years ago

uberfastman commented 2 years ago

@mihirmodiofficial unfortunately the Yahoo Fantasy Sports API does not provide (and never has provided) access to projected points. Yahoo uses a third party service for their player point projections, and my understanding is that as part of that arrangement Yahoo does not make that data accessible via API.

If you want to pull the projections your best bet is probably web scraping, which for ease of use would likely require you to make your league public so that you can access the HTML. Good luck!

amarvin commented 1 year ago

@mihirmodiofficial, you could get the player projected points using ffbot (https://github.com/amarvin/fantasy-football-bot).