getAthleteActivities() public method

public getAthleteActivities ( string $before = null, string $after = null, integer $page = null, integer $per_page = null )
$before string
$after string
$page integer
$per_page integer
Ejemplo n.º 1
0
 /**
  * List athlete activities
  * 
  * @link    http://strava.github.io/api/v3/activities/#get-activities
  * @param   string $before
  * @param   string $after
  * @param   int $page
  * @param   int $per_page
  * @return  array
  * @throws  Exception
  */
 public function getAthleteActivities($before = null, $after = null, $page = null, $per_page = null)
 {
     try {
         return $this->service->getAthleteActivities($before, $after, $page, $per_page);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }