How to export analytics or activity of a teammates

Question:How to export analytics or activity of a teammates

CSV export for Analytics and Activities is not available.
You can use REST API to get these data:
For Analytics : Analytics - Tiledesk Docs
For Activities: Activities - Tiledesk Docs