Downloading my purchase history

Hi, I was wondering if there is some way to download all of my past purchases in a machine-readable format (e. g. CSV).

I know that from the “Order Status and History” page, I can go to each individual salesorder and download that salesorder as CSV. However, there are 161 salesorders in my history, so that will be a lot of manual work to download all 161 CSV files.

Is there some way to automate this? I looked into using the Digi-Key API, but it seemed too complicated. (Actually, the API itself seems simple enough, but authenticating via OAuth2 was the part that was too complicated for me to figure out. Also, there’s some sort of “approval” process, which seems heavyweight for a one-off script to download my order history.)

Any suggestions? Thanks!