ExportAPI
| Method | HTTP | Description |
|---|---|---|
ExportMyProfileData | GET /export/my/profile-data | Profile JSON export |
ExportMyActivityData | GET /export/my/activity-data | Activity history JSON export |
profileExport, _, err := client.ExportAPI.ExportMyProfileData(ctx).Execute()
activityExport, _, err := client.ExportAPI.ExportMyActivityData(ctx).Execute()
profileJSON, err := json.MarshalIndent(profileExport, "", " ")
activityJSON, err := json.MarshalIndent(activityExport, "", " ")
Profile export includes account and extended profile data. Activity export contains the user's activity collection plus export metadata.