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