Team Class
#163
-
I created by League class. I am now wondering how to get the rosters of each team in my fantasy league. I am new to APIs and I don't understand how to create the team class that would allow me to get the roster. |
Beta Was this translation helpful? Give feedback.
Answered by
noah-kuo
Dec 29, 2020
Replies: 1 comment 1 reply
-
There is some example usage on the Wiki that I believe does what you're asking for. The league class should have a teams attribute that has all the team objects in a list. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cwendt94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is some example usage on the Wiki that I believe does what you're asking for. The league class should have a teams attribute that has all the team objects in a list.