Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API support for waiver bids, adding, or dropping players #71

Open
myz540 opened this issue Sep 4, 2024 · 2 comments
Open

API support for waiver bids, adding, or dropping players #71

myz540 opened this issue Sep 4, 2024 · 2 comments

Comments

@myz540
Copy link

myz540 commented Sep 4, 2024

Does the yahoo API support this? If so, would be awesome to see these methods implemented. I'm open to contributing that functionality once I understand the data model a bit better.

My past attempts to use their API have not been fruitful so it's great to see a working python SDK

EDIT: Looks like it is available as a method on the transaction resource

image

@mattdodge
Copy link
Owner

This library, until now, has been read only so pretty much just uses GET options. But no reason it can't or shouldn't support some write operations like adding/dropping too. Would definitely welcome a contribution here!

If you check out the code in yahoofantasy/api/fetch.py you'll see the gist of what's going on - can probably either add a new file like write.py or (probably preferred) rename it to client.py and support both gets and posts/puts in there

@myz540
Copy link
Author

myz540 commented Sep 11, 2024

Great! haven't had any time to visit this but will start hacking at it this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants