PHP code example of doyoubuzz / api-helper
1. Go to this page and download the library: Download doyoubuzz/api-helper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
doyoubuzz / api-helper example snippets
// = 'XXX';
$apiSecret = 'YYY';
$dyb = new \DoYouBuzz\ApiHelper\DoYouBuzzAPI($apiKey, $apiSecret);
$dyb->connect(true);
$user = $dyb->getUser();
if ($user) {
echo 'Utilisateur : ' . $user->firstname . ' ' . $user->lastname . '<br>';
$mainCv = $dyb->getMainCv();
if ($mainCv) {
echo 'Cv : ' . $mainCv->title . '<br>';
}
}