diff --git a/service/rawdata/uninstalls.go b/service/rawdata/uninstalls.go new file mode 100644 index 0000000..9b6859b --- /dev/null +++ b/service/rawdata/uninstalls.go @@ -0,0 +1,16 @@ +package rawdata + +import ( + "github.com/eure/appsflyer/dispatcher" + "github.com/eure/appsflyer/model/rawdata" +) + +const endpointUninstallReport = "uninstall_events_report/v5" + +func GetUninstallReports(client *dispatcher.Client) ([]rawdata.Report, error) { + return getReports(endpointInstallReport, client) +} + +func GetEachUninstallReport(client *dispatcher.Client, f func(report rawdata.Report)) error { + return getEachReport(endpointInstallReport, client, f) +} \ No newline at end of file