このURLから得られる情報をCSVファイルに変換してください：
http://example.com/data.json
import json
import csv

# read the json file
with open('data.json') as f:
 data = json.load(f)

# write to csv file
csv_file = open('data.csv', 'w')
csv_writer = csv.writer(csv_file)

# write the header
csv_writer.writerow(data[0].keys())

# write the rest of the rows
for row in data:
 csv_writer.writerow(row.values())

# close the file
csv_file.close()