Skip to content

Conversation

@jak3sch
Copy link
Contributor

@jak3sch jak3sch commented Sep 26, 2024

I'm playing in a mfl contest league and thought, it would be usefull to get this type via mfl_league().

For that, I use the API endpoint loadRosters if no keeperType is found. I don't know, how robust this is and if someone is playing a keeper contest league or if this is even possible. But maybe this is better than nothing?

@tanho63
Copy link
Member

tanho63 commented Sep 26, 2024

Hmm. It could be worth reaching out to MFL support to ask if that’s the right way to identify a contest league via API?

@jak3sch
Copy link
Contributor Author

jak3sch commented Sep 27, 2024

It seems like this is the way to go. From the mfl support:

"You can just use the "league" API call, and then check the "loadRosters" variable to check if it is a contest style league. It wouldn't make sense for a contest style league to have the dynasty setting, so that shouldn't be an option that you need to check."

@jak3sch
Copy link
Contributor Author

jak3sch commented Oct 14, 2024

I added your suggestion

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

Successfully merging this pull request may close these issues.

2 participants