Braze Python Campaigns
a simple script to get Campaigns info
Today I start to play with Blaze API.
ENDPOINT
Braze manages a number of different instances for our Dashboard and REST Endpoints. When your account is provisioned you will log in to one of the corresponding URLs below. Use the correct REST Endpoint based on which instance you are provisioned to.
Today I focus on endpoint campaigns but step by step on the next day i will add also the other endpoints.
on my python script, i’m using the request packages that you can install with the following command
Version : python 3.7
package : pip install requests
link : https://pypi.org/project/requests/
CAMPAIGNS
I did a simple python script to retry the following campaign endpoint:
- Campaign Analytics
- Campaign Details
- Campaigns List
SCRIPT
let me know if you have any questions you can find the code here GIT