This example Docker container project makes use of the Management API, specifically the history API, to gather Conference and Participant CDR data on a daily basis. Data is written to CSV files for use in whichever way you want.
The project is based on an existing PowerShell script found in the Infinity documentation (Extracting and analyzing call data | Pexip Infinity Docs), except this is packed up into a Docker container.
The project can be found on GitHub: https://github.com/aledmorris/pex_data_collector
Please note: this is just a sample app created for the purposes of learning more about Python, Flask, and Docker. Although security was a consideration, I would not run this in production!