Méthode |
Description |
|
__construct ( string $token, Pest $adapter ) |
Inititate this REST servcie with the application token and a instance
of the REST adapter (Pest) |
|
createActivity ( $name, $type, $start_date_local, $elapsed_time, $description = null, $distance = null ) |
|
|
deleteActivity ( $id ) |
|
|
getActivity ( $id, $include_all_efforts = null ) |
|
|
getActivityComments ( $id, $markdown = null, $page = null, $per_page = null ) |
|
|
getActivityKudos ( $id, $page = null, $per_page = null ) |
|
|
getActivityLaps ( $id ) |
|
|
getActivityPhotos ( $id, $size = 2048, $photo_sources = 'true' ) |
|
|
getActivityUploadStatus ( $id ) |
|
|
getActivityZones ( $id ) |
|
|
getAthlete ( $id = null ) |
|
|
getAthleteActivities ( $before = null, $after = null, $page = null, $per_page = null ) |
|
|
getAthleteBothFollowing ( $id, $page = null, $per_page = null ) |
|
|
getAthleteClubs ( ) |
|
|
getAthleteFollowers ( $id = null, $page = null, $per_page = null ) |
|
|
getAthleteFriends ( $id = null, $page = null, $per_page = null ) |
|
|
getAthleteKom ( $id, $page = null, $per_page = null ) |
|
|
getAthleteStarredSegments ( $id = null, $page = null, $per_page = null ) |
|
|
getAthleteStats ( $id ) |
|
|
getClub ( $id ) |
|
|
getClubActivities ( $id, $page = null, $per_page = null ) |
|
|
getClubAnnouncements ( $id ) |
|
|
getClubGroupEvents ( $id ) |
|
|
getClubMembers ( $id, $page = null, $per_page = null ) |
|
|
getGear ( $id ) |
|
|
getSegment ( $id ) |
|
|
getSegmentEffort ( $id, $athlete_id = null, $start_date_local = null, $end_date_local = null, $page = null, $per_page = null ) |
|
|
getSegmentExplorer ( $bounds, $activity_type = 'riding', $min_cat = null, $max_cat = null ) |
|
|
getSegmentLeaderboard ( $id, $gender = null, $age_group = null, $weight_class = null, $following = null, $club_id = null, $date_range = null, $context_entries = null, $page = null, $per_page = null ) |
|
|
getStreamsActivity ( $id, $types, $resolution = null, $series_type = 'distance' ) |
|
|
getStreamsEffort ( $id, $types, $resolution = null, $series_type = 'distance' ) |
|
|
getStreamsSegment ( $id, $types, $resolution = null, $series_type = 'distance' ) |
|
|
joinClub ( $id ) |
|
|
leaveClub ( $id ) |
|
|
updateActivity ( $id, $name = null, $type = null, $private = false, $commute = false, $trainer = false, $gear_id = null, $description = null ) |
|
|
updateAthlete ( $city, $state, $country, $sex, $weight ) |
|
|
uploadActivity ( $file, $activity_type = null, $name = null, $description = null, $private = null, $trainer = null, $commute = null, $data_type = null, $external_id = null ) |
|
|