/**
* Retrieve an activity
*
* @link http://strava.github.io/api/v3/athlete/#get-details,
* http://strava.github.io/api/v3/athlete/#get-another-details
* @param int $id
* @param boolean $include_all_efforts
* @return array
* @throws Exception
*/
public function getActivity($id, $include_all_efforts = null)
{
try {
return $this->service->getActivity($id, $include_all_efforts);
} catch (ServiceException $e) {
throw new ClientException('[SERVICE] ' . $e->getMessage());
}
}