SDK for Braze API: https://www.braze.com/docs/api/basics/
-
=Python 3.7.5
pip install braze_sdk
To provide a python API client for Braze API. (More clients to be implemented)
Adding custom attributes for external_ids. (Dataframe has the following schema):
external_id, custom_attribute1, custom_attribute2.........
import pandas as pd
df = pd.read_csv('test.csv')
u = UserDataClient(api_key='xxxxxxxxxxxxxx')
res = u.users_track(df)
res.text
Result from response type: forecast and forecastHourly
'{"attributes_processed":3,"message":"success"}'
- Paulo Kuong (@pkuong)