Downloading premade CSV sales report vs building a sales report

Hi! I’m new to development and the Square system. I’m looking to make a program that will download a few CSVs that I will be using data from. Particularly, I’m looking at these two in the Dashboard: Reports → item sales and Reports → modifier sales. Is there a way that I can get these two CSV files through the Square APIs or would I have to build my own Sales Report as demonstrated in the following link?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Customer API: Securely Manage Customer Data
Merchant APIs
Square Developer Tools

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

At this time the ability to get .csv with our APIs isn’t currently available. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team.
cc: @gabrieljinich