API to download CSV

I’d like an API that I can use to programmatically pull the latest CSV with patron information at regular intervals so I can update my database.
Currently, I do this manually but it would be great if I could automate this.
The other API endpoints appear to be incomplete as I sometimes don’t get email IDs of active patrons. I realize that there is some way around this issue, but I would much rather have the CSV download.