JSON API→CSVにて

jqを用いてAPI取得から

curl 'url名' | jq .項目名1.項目名2[] | jq -r "to_entries | [.[].value] | @csv" >> test.csv

これでいける!