echo $api[0]->status;https://stackoverflow.com/questions/...n-object-error