UPS Quantum View

Example

Download all events to a CSV:

<?php
$q = new \RocketShipIt\Download('UPS');
$q->setParameter('beginDate', '20160426000000'); // optional
$q->setParameter('endDate', '20160429154400'); // optional
$q->setParameter('subscriptionName', 'Test');
$response = $q->csv();

file_put_contents('/tmp/csv.csv', $response);