A working script that creates a CSV file using the data from a cURL request.