public function getAthleteStarredSegments($id = null, $page = null, $per_page = null)
{
$path = '/segments/starred';
if (isset($id) && $id !== null) {
$path = '/athletes/' . $id . '/segments/starred';
// ...wrong in Strava documentation
}
$parameters = array('page' => $page, 'per_page' => $per_page);
$result = $this->adapter->get($path, $parameters, $this->getHeaders());
return $this->format($result);
}