Closed Timbinous closed 7 years ago
@Timbinous would you mind checking the depth-charts branch to see if that works for your use case? I have changes there for the game roster, which sound like what you're after here.
@phoffer It does fix the issue I was having. Thanks for looking at this PR. I will check your other branches next time to make sure it isn't fixed already.
I found out that the roster is getting it's information in a different way when calling
game_roster
as opposed togame_statistics
onlib/sportradar/api/nfl.rb
Also refactored the players to be the returning method as well as return an array as the default in case there are no players returned. Returning nil was causing an issue and since the method name is plural I figured returning an array would be implicit.