Create api2csv.rb

Fetches API-Data and writes it to a CSV file.