result = client.execute(query, variable_values={"code": code})
for kill_rank in result['reportData']['report']['rankings']['data']:
tanks = kill_rank['roles']['tanks']['characters']
healers = kill_rank['roles']['healers']['characters']
dps = kill_rank['roles']['dps']['characters']
result = client.execute(query, variable_values={"code": code})
for kill_rank in result['reportData']['report']['rankings']['data']:
tanks = kill_rank['roles']['tanks']['characters']
healers = kill_rank['roles']['healers']['characters']
dps = kill_rank['roles']['dps']['characters']
- found_ids[(report_code, pull)] = [char['id'] for char in tanks] + [char['id'] for char in healers] + [char['id'] for char in dps]
+ print(code,pull,','.join([str(char['id']) for char in tanks] + [str(char['id']) for char in healers] + [str(char['id']) for char in dps]), sep="|")