whatadewitt / yahoo-fantasy-sports-api

NodeJS wrapper for the Yahoo! Fantasy Sports API
https://yahoo-fantasy-node-docs.vercel.app/
MIT License
192 stars 52 forks source link

Get All Players in League? #47

Closed dbalders closed 5 years ago

dbalders commented 5 years ago

Hello,

Sorry if this is obvious, but is it possible to get a list of all the players in the league? That way you could make a list of who the free agents are and what not? I couldn't get anything I tried to work and didn't see an option for this in the /resources/ code.

Thanks for the help, loving the tool so far.

whatadewitt commented 5 years ago

Unfortunately, no.

The best I've seen is that you can grab Free Agents using the 'league players' collection and you'd have to grab them page-by-page until you have them all (currently it's limited to a max of 25 at a time, I believe). There may be a way to do what you're asking, unfortunately, Yahoo! hasn't made that public.

dbalders commented 5 years ago

Ah, kk thanks!