Exporting Financial Reports to CSV using API

Hi is there any way to export reports like Profit and Loss , Balance sheet etc programmatically using API

Hi you can use 13.1. csv — CSV File Reading and Writing — Python 2.7.18 documentation