dolejska-daniel/riot-api-league

ParticipantsIdentity -> player -> teamId does not exists

Closed this issue · 5 comments

The variable is declared but when im trying to get the value it returns "".

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).

All I know is that when I loop throught "ParticipantIdentities", and i get participant-> player-> teamId returns empty. I hope I've helped you!
image

Match v4 actually uses property participants not participantIdentities to store such information.

$match->participants[0]->teamId;

Ok i got confused because of my IDE, im sorry. Thanks for your time!

@FernandoRomero11 I have added information about property availability to their annotation. This should help with Riot's somewhat inconsistent API.