This repository contains the applications which you can use to get detailed information about the calls.
Currently, the following Python apps are present:
- Get detailed information about the calls using the
after
query parameter
- Python 3
git clone [email protected]:carrierx/cdr-apps.git
cd cdr-apps
Copy the configuration.py.template
file to configuration.py
and replace the following variables:
-
Enter your credentials used to make requests to CarrierX API. To create a token, see the Security Token quick start guide.
CARRIERX_API_TOKEN = ''
-
If you use some specific base API URL, change it here
BASE_CARRIERX_API_URL = 'https://api.carrierx.com'
-
Set the date that will be used to poll the calls
DATE = ''
The date is set in the YYYY-MM-DD
format, e.g., DATE = '2020-03-15'
.
Now run one of the applications (e.g., after_selected_fields.py
):
python3 ./after_selected_fields.py
Refer to our Call Detail Record Application quick start for the detailed description of the application and its work.