I’m stuck on a problem that should have been simple, but in the end, it wasn’t, at least for me. I need to obtain information from an API, but only later did I realize that it returns tabular data (TSV). I’m trying to find a way to get this data and convert it to CSV. I’ve tried through node HTTP and other methods, but the result wasn’t what I expected. I got closer using Google Apps Script, but it still didn’t work out.
Does anyone have an idea of how I can get this data in plain text and change the \t \n to form a bi-dimensional table?