getAthleteStats() public method

Only available for the authenticated athlete.
public getAthleteStats ( integer $id ) : array
$id integer
return array
Exemplo n.º 1
0
 /**
  * Retrieve athlete stats
  *
  * Only available for the authenticated athlete.
  *
  * @link    http://strava.github.io/api/v3/athlete/#stats
  * @param   int $id
  * @return  array
  * @throws  ClientException
  */
 public function getAthleteStats($id)
 {
     try {
         return $this->service->getAthleteStats($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }