def item_id(response):
dict_keys = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>new_keys = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>for player in response['<STR_LIT>']:<EOL><INDENT>for key, new_key in zip(dict_keys, new_keys):<EOL><INDENT>for item in items['<STR_LIT>']:<EOL><INDENT>if item['<STR_LIT:id>'] == player[key]:<EOL><INDENT>player[new_key] = item['<STR_LIT>']<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return response<EOL>
Parse the item ids, will be available as ``item_0_name``, ``item_1_name``,
``item_2_name`` and so on