| Package | Description |
|---|---|
| javastrava.api.v3.service | |
| javastrava.api.v3.service.impl | |
| javastrava.util |
| Modifier and Type | Method and Description |
|---|---|
StravaSegmentLeaderboard |
SegmentService.getSegmentLeaderboard(Integer id,
Paging pagingInstruction)
|
StravaSegmentLeaderboard |
SegmentService.getSegmentLeaderboard(Integer id,
StravaGender gender,
StravaAgeGroup ageGroup,
StravaWeightClass weightClass,
Boolean following,
Integer clubId,
StravaLeaderboardDateRange dateRange,
Paging pagingInstruction,
Integer contextEntries)
|
List<StravaComment> |
ActivityService.listActivityComments(Integer id,
Boolean markdown,
Paging pagingInstruction)
Comments on an activity can be viewed by any user.
|
List<StravaComment> |
ActivityService.listActivityComments(Integer id,
Paging pagingInstruction)
Comments on an activity can be viewed by any user.
|
List<StravaAthlete> |
ActivityService.listActivityKudoers(Integer id,
Paging pagingInstruction)
A kudos is Strava's version of a 'like' or '+1'.
|
List<StravaAthlete> |
AthleteService.listAthleteFriends(Integer id,
Paging pagingInstruction)
Friends are users an
athlete is following. |
List<StravaSegmentEffort> |
AthleteService.listAthleteKOMs(Integer id,
Paging pagingInstruction)
Returns an array of
segment efforts representing KOMs/QOMs and course records held by the given athlete. |
List<StravaAthlete> |
AthleteService.listAthletesBothFollowing(Integer id,
Paging pagingInstruction)
Retrieve the
athletes who both the authenticated athlete and the indicated athlete are following. |
List<StravaActivity> |
ActivityService.listAuthenticatedAthleteActivities(Calendar before,
Calendar after,
Paging pagingInstruction)
This endpoint returns a list of
activities for the authenticated StravaAthlete. |
List<StravaActivity> |
ActivityService.listAuthenticatedAthleteActivities(Paging pagingInstruction)
This endpoint returns a list of
activities for the authenticated StravaAthlete. |
List<StravaAthlete> |
AthleteService.listAuthenticatedAthleteFriends(Paging pagingInstruction)
Friends are users the current
athlete is following. |
List<StravaSegment> |
SegmentService.listAuthenticatedAthleteStarredSegments(Paging pagingInstruction)
|
List<StravaAthlete> |
ClubService.listClubMembers(Integer id,
Paging pagingInstruction)
|
List<StravaActivity> |
ActivityService.listFriendsActivities(Paging pagingInstruction)
List the recent activities performed by those the current authenticated
StravaAthlete is following. |
List<StravaActivity> |
ClubService.listRecentClubActivities(Integer id,
Paging pagingInstruction)
|
List<StravaActivity> |
ActivityService.listRelatedActivities(Integer id,
Paging pagingInstruction)
Returns the activities that were matched as "with this group".
|
List<StravaSegmentEffort> |
SegmentService.listSegmentEfforts(Integer id,
Integer athleteId,
Calendar startDateLocal,
Calendar endDateLocal,
Paging pagingInstruction)
Retrieve an array of
segment efforts, for a given StravaSegment, filtered by StravaAthlete and/or a date
range. |
List<StravaSegmentEffort> |
SegmentService.listSegmentEfforts(Integer id,
Paging pagingInstruction)
Retrieve an array of
segment efforts, for a given StravaSegment. |
List<StravaSegment> |
SegmentService.listStarredSegments(Integer id,
Paging pagingInstruction)
|
| Modifier and Type | Method and Description |
|---|---|
static List<Paging> |
PagingUtils.convertToStravaPaging(Paging inputPaging)
Utility method - give it any paging instruction and it will return a list of paging instructions that will work with the Strava API (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Paging> |
PagingUtils.convertToStravaPaging(Paging inputPaging)
Utility method - give it any paging instruction and it will return a list of paging instructions that will work with the Strava API (i.e.
|
List<T> |
PagingCallback.getPageOfData(Paging thisPage) |
static <T> List<T> |
PagingHandler.handlePaging(Paging pagingInstruction,
PagingCallback<T> callback)
Validates paging instructions and converts them to Strava-compatible paging instructions, then gets the whole lot for you
|
static void |
PagingUtils.validatePagingArguments(Paging pagingInstruction)
Throw an IllegalArgumentException if the page or perPage parameters are set but are invalid
|
Copyright © 2015 Dan Shannon. All rights reserved.