Inheritance #371
Unanswered
timothyjbrooks
asked this question in
ESPN API
Inheritance
#371
Replies: 1 comment
-
Understandable, the data returned from ESPN is a lot and unfortunately not easy to define types/structures for the data. The best way to really understand the data being passed is looking at the raw response. Hopefully in the future I can go through and create types for a lot of this data. To see all the data passed into the Teams class you can make this call with the League object |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to write a TeamReport class that inherits the Team class and adds some attributes as well as defines some calculation methods. I see that the constructor for Team passes in "data" but it's a bit convoluted to me as to what that consists of. I'm fairly new to python and much more familiar with strongly typed languages so this is confusing me and taking longer to figure out than I'd like. If you have any pointers please let me know.
Beta Was this translation helpful? Give feedback.
All reactions