Reference: Retrieve Data Export
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'RetrieveExport', data: { id: 'YOUR_EXPORT_ID' } }).then((binaryDataZip) => { writeFileSync('export.zip', binaryDataZip); }); Copy
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'RetrieveExport', data: { id: 'YOUR_EXPORT_ID' } }).then((binaryDataZip) => { writeFileSync('export.zip', binaryDataZip); });
Reference: Retrieve Data Export
Example