apwg / crypto-bulk-import-csv-from-command-line Goto Github PK
View Code? Open in Web Editor NEWA file of CSV data is read, saved into an array, and each element in the array converted to JSON to match the eCX API submission format. The JSON data is POSTed to eCX and the logic catches the result code and any error messages. Rejected submissions are saved into an exception file.
License: GNU General Public License v3.0