ParticipantsIdentity -> player -> teamId does not exists
Closed this issue · 5 comments
FernandoRomero11 commented
The variable is declared but when im trying to get the value it returns "".
dolejska-daniel commented
Hello, thank you for the issue - it would be nice if you provided additional information about your problem. At least the endpoint you are calling (best with values and IDs you are using).
FernandoRomero11 commented
dolejska-daniel commented
Match v4
actually uses property participants
not participantIdentities
to store such information.
$match->participants[0]->teamId;
FernandoRomero11 commented
Ok i got confused because of my IDE, im sorry. Thanks for your time!
dolejska-daniel commented
@FernandoRomero11 I have added information about property availability to their annotation. This should help with Riot's somewhat inconsistent API.