I'm using CiviCRM as a WordPress plugin. I've created a report with a URL like:
https://example.com/wp-admin/admin.php?page=CiviCRM&q=civicrm/report/instance/123
I can visit that page and click the "Export CSV" button. Now, I want to write a script with the Google Sheets API that loads this CSV and updates a Google Sheet. Therefore, I need a direct link to the CSV-formatted report, so my script can issue an HTTP GET and receive the CSV data.
Is there a URL parameter I can pass, or some other way to directly link to the CSV?