This script is designed obtain all first-time purchases within 7 days of installs by using AppsFlyer's Pull API
To use the script open a terminal in the folder with python code and:
- Add the python pandas libary via pip
pip install pandas
- Change the date range, add your event name, add your app_id and token:
from_date = "2018-09-01"
to_date = "2018-09-07"
event_name_Purchase = "af_purchase"
app_id = "YOUR_APP_ID"
token = "YOUR_TOKEN"
- Lastly, start the script by typing this command in the terminal:
python GetPurchaseInFirst7Days.py
You folder directory will now have every first time purchase within 7 days.
Cheers,