Turn Data Explorer query results into CSV to attach to Discourse automated emails

As far as I know, I’m not.

I’m hitting the Discourse trending search API endpoint https://my_company_discourse/admin/reports/trending_search.json?start_date=2023-08-01&end_date=2023-08-31 with my Python script and supplying the various start and end dates, but it only returns the first 100 results.