API繰り返し出力

#bin/sh
for i in `seq 0 N`;
do
  curl "http://~~?l=100&o=${i}" | jq .result.classify_list[] | jq -r "to_entries | [.[].value] | @csv" >> output.csv
done