Program to download a given timeframe of historical data from the CxEngage API.
- Supply
tenant_id
inconfig.json
. - Supply
tenant_region
inconfig.json
– this is the region of your CxEngage instance. EitherEurope
orNorth America
. Case sensitive. - Supply API credentials in
config.json
. This should be akey
/secret
. - Supply the desired
start_date
andend_date
inconfig.json
. These should be in ISO 8601 format, e.g.2020-01-01T00:00:00Z
. If these are left blank, all records from the tenant will be downloaded.
Sample config.json
:
{
"tenant_id": "08w3yfg3u4f032hg-e0g-340gh3-g34gh-33434d",
"tenant_region": "Europe",
"auth": {
"key": "90r123e4gh-9132-44j4-g7ad-278934872fg98",
"secret": "a0sdfy0whfpouwer09fgsdiugegr="
},
"start_date": "",
"end_date": ""
}
Please note, this program requires a lot of manual python script running. It does everything but all the scripts are not quite connected up in the way they should be to make this a single run-and-forget process.