import json, os, csv
def create_list_from_json(jsonfile):
with open(jsonfile) as f:
data = json.load(f)
data_list = []
for item in data['feed']['catalog']['add']['items']:
data_list.append(item)
return data_list
def write_csv():
item_list = create_list_from_