I have a function that reads CSV files of different formats, and in one of them I need an API call to return before writing to another csv file. I\'m attempting to accomplish th