public getSegmentEffort ( $id, $athlete_id = null, $start_date_local = null, $end_date_local = null, $page = null, $per_page = null ) |
public function getSegmentEffort($id, $athlete_id = null, $start_date_local = null, $end_date_local = null, $page = null, $per_page = null)
{
$path = '/segments/' . $id . '/all_efforts';
$parameters = array('athlete_id' => $athlete_id, 'start_date_local' => $start_date_local, 'end_date_local' => $end_date_local, 'page' => $page, 'per_page' => $per_page);
$result = $this->adapter->get($path, $parameters, $this->getHeaders());
return $this->format($result);
}