/**
* Retrieve activity streams
*
* @link http://strava.github.io/api/v3/streams/#activity
* @param int $id
* @param string $types
* @param string $resolution
* @param string $series_type
* @return array
* @throws Exception
*/
public function getStreamsActivity($id, $types, $resolution = null, $series_type = 'distance')
{
try {
return $this->service->getStreamsActivity($id, $types, $resolution, $series_type);
} catch (ServiceException $e) {
throw new ClientException('[SERVICE] ' . $e->getMessage());
}
}