getStreamsSegment() public méthode

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