I've explored the APIs for CiviCRM 4.7.
I can't seem to find an entity for PCP or Personal Campaigns. Tried using the campaigns API but personal campaigns don't come up with it.
Does anyone know of the PCP API and have some sample code?
I've tried
$result = civicrm_api3('Campaign', 'get', array(
'sequential' => 1,
// "created_id" => $contactId,
));