https://github.com/codebanesr/clevertap-csv
A tool for downloading large databasets from clevertap, stores it in time___cursor format so that you can continue if something goes wrong. An alternative to using clevertap-csv-download provided by clevertap
https://github.com/codebanesr/clevertap-csv
clevertap python2 virtualenv
Last synced: 2 months ago
JSON representation
A tool for downloading large databasets from clevertap, stores it in time___cursor format so that you can continue if something goes wrong. An alternative to using clevertap-csv-download provided by clevertap
- Host: GitHub
- URL: https://github.com/codebanesr/clevertap-csv
- Owner: codebanesr
- Created: 2019-12-01T08:20:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-01T10:50:04.000Z (over 6 years ago)
- Last Synced: 2025-01-20T11:29:25.004Z (about 1 year ago)
- Topics: clevertap, python2, virtualenv
- Language: Python
- Homepage:
- Size: 1.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README copy.md
Awesome Lists containing this project
README
## CleverTap python csv download tool
### Usage
to download user profiles/events to a csv:
- git clone the repo (or simply copy-paste the files clevertap.py and csvdownload.py, and place them in the same folder)
- cd to cloned directory (or the directory where you have created the above two files)
- run csvdownload.py passing your CleverTap Account ID, Passcode, absolute path to your json file and the absolute path to your csv file.
- e.g. python csvdownload.py -a WWW-YYY-ZZZZ -c AAA-BBB-CCCC -pjson ~/Desktop/query_example.json -pcsv ~/Desktop/event.csv -t event
```
arguments:
-h, --help show this help message and exit
-a ID, --id ID CleverTap Account ID
-c PASSCODE, --passcode PASSCODE CleverTap Account Passcode
-r REGION, --region REGION Dedicated CleverTap Account Regioni, optional
-pjson PATH, --path PATH Absolute path to the json file
-pcsv PATH, --path PATH Absolute path to the csv file
-t TYPE, --type TYPE The type of query, either profile or event, defaults to profile
```
NOTE: The .csv file generated will be utf-8 encoded. This file might cause unusual behaviour in Excel application depending on your encoding settings. It can be viewed without any problem on Google Spreadsheets or Numbers application.