- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$ch = curl_init("https://api.appannie.com/v1.2/products/com.abcvet/sales?break_down=date&start_date=2015-01-01&end_date=2015-01-31");
$headers = array('Authorization: Bearer 713fe46c23f089d841c0809c9df0fce0a37bb2cd');
$run = curl_exec($ch);
curl_close($ch);
$arr = json_decode($run, true);
print_r($arr);
?>