I have been programing in python working on an app with the api but I ran into a problem where I couldn’t figure out how to count nuber of suicide using this method:
groundpounds = 0
for kill in data[“GameEvents”]:
if kill[“IsGroundPound”]:
groundpounds = groundpounds + 1
print groundpounds
Is that right code snippet? That’s counting ‘Ground Pounds’, not suicides.
Does the new Event endpoint show suicides? (Killer and Killed the same entity? No Killer?).
Otherwise you’ll have to look at the Suicide impulse for the player on the carnage report.
well same code just replace the groundpounds with suicides