Hello all im working with an API. From this In this API there's a lot of data. I'm trying to get a specific bit. Like this:
$SimplicateApi = new SimplicateApi('emark.domain.nl','key','secret');
$json = $SimplicateApi->makeApiCall('GET','/crm/person?q[first_name]=Kevin');
Warning: json_decode() expects parameter 1 to be string, array given
on line 361 NUL
You need to
var_dump($json). The variable contains an array, not a JSON (json = string). I don't know SimplicateApi, but maybe the json you want is in the array returned by the makeApiCall method?