Exporting to .csv

Is there a way of exporting ALL activities to .csv in one go rather than page by page? I have >900 activities on Garmin connect and exporting page by page would be very tedious.