/**
* Segment explorer
*
* @link http://strava.github.io/api/v3/segments/#explore
* @param string $bounds
* @param string $activity_type
* @param int $min_cat
* @param int $max_cat
* @return array
* @throws Exception
*/
public function getSegmentExplorer($bounds, $activity_type = 'riding', $min_cat = null, $max_cat = null)
{
try {
return $this->service->getSegmentExplorer($bounds, $activity_type, $min_cat, $max_cat);
} catch (ServiceException $e) {
throw new ClientException('[SERVICE] ' . $e->getMessage());
}
}