I'm trying to echo certain value from cURL request.
My PHP code:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => 'https://api.envato.com/v1/market/new-files:themeforest,site-templates.json',
CURLOPT_HTTPHEADER => array('Authorization: Bearer myuniquekeygoeshere')
));
$resp = curl_exec($curl);
echo $resp;
curl_close($curl);
When I use echo $resp I'm getting this (this is the screenshot from their API but I'm getting the same so it works well so far):

How can I echo certain value from this - lets say "Emanate - Startup Landing Page"?
I've tried echo $resp["new-files"][0]["item"]; but instead of name I'm getting { and nothing else.