I'd like to know how to generate the PageViews_for_.csv file that you can get when you click on the Download as CSV button. The endpoint is //page_views.csv that I can see in the network tab of my developer tools:

I suppose using a GET request would do the trick but I need to narrow it down to a specific date range. The reason is that I'd like to programmatically get all the same fields that the downloaded CSV has. Using a PageView object leaves out a lot of extra useful fields that are in the CSV that you can download from the Canvas UI.

Thanks in advance