Recherche des membres d'une association
<?php
$association = $api->searchAssociationById(147);
$mandates = $association->getCurrentMandates();
$mandates = $association->getAllMandates();
foreach ($mandates as $mandate){
echo $mandate->getStartDate()->format('d/m/Y');
$student = $mandate->getStudent();
$position = $mandate->getPosition();
echo $position->getName();
echo $position->getDescription();
}
$students = $association->getCurrentStudents();
$students = $association->getAllStudents();