How to export data obtained via the API in CSV?

There is an example of receiving data via the API looks like this
curl -H 'ecom-auth: ...' \
 -H 'Content-Type: application/json' \

The answer gives a list of products.
Tell me how to get the answer in the form of links to a CSV file of products?
Preferably with an example....
I would be very grateful!
March 19th 20 at 08:34
1 answer
March 19th 20 at 08:36
1. To obtain the data via the API.
2. To perform the parsing of JSON by putting the list of products in a variable of type list.
3. To open a CSV file and write each element of the list of goods to serialize as a string in CSV format.
4. Upload to some server (HTTP, FTP) and get the path to the file.
Thank you, now a little more clear about that API....
Or maybe there is ready solution, Converter of some sort , do you know?
Here's an example that won't work ? - favian_Yo commented on March 19th 20 at 08:39
@favian_Yo, then - Maria.Tillm commented on March 19th 20 at 08:42

Find more questions by tags CSVJSONAPI