getClubGroupEvents() public method

public getClubGroupEvents ( integer $id )
$id integer
Ejemplo n.º 1
0
 /**
  * List club group events
  *
  * @link    https://strava.github.io/api/v3/clubs/#get-group-events
  * @param   int $id
  * @return  array
  * @throws  Exception
  */
 public function getClubGroupEvents($id)
 {
     try {
         return $this->service->getClubGroupEvents($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }