Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions for performing actions against the API.
- getActivity :: Client -> ActivityId -> Maybe Bool -> IO (Either String ActivitySummary)
- getAthlete :: Client -> AthleteId -> IO (Either String AthleteSummary)
- getAthleteCRs :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [EffortSummary])
- getClub :: Client -> ClubId -> IO (Either String ClubDetailed)
- getClubActivities :: Client -> ClubId -> Page -> PerPage -> IO (Either String [ActivitySummary])
- getClubMembers :: Client -> ClubId -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getComments :: Client -> ActivityId -> IncludeMarkdown -> Page -> PerPage -> IO (Either String [CommentSummary])
- getCommonFriends :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getCurrentActivities :: Client -> Maybe UTCTime -> Maybe UTCTime -> Page -> PerPage -> IO (Either String [ActivitySummary])
- getCurrentAthlete :: Client -> IO (Either String AthleteDetailed)
- getCurrentClubs :: Client -> IO (Either String [ClubSummary])
- getCurrentFollowers :: Client -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getCurrentFriends :: Client -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getEffort :: Client -> EffortId -> IO (Either String EffortSummary)
- getEfforts :: Client -> SegmentId -> Maybe (UTCTime, UTCTime) -> Page -> PerPage -> IO (Either String [EffortSummary])
- getFollowers :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getFriends :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getFriendsActivities :: Client -> Page -> PerPage -> IO (Either String [ActivitySummary])
- getGear :: Client -> GearId -> IO (Either String GearDetailed)
- getKudoers :: Client -> ActivityId -> Page -> PerPage -> IO (Either String [AthleteSummary])
- getLaps :: Client -> ActivityId -> IO (Either String [EffortLap])
- getLeaders :: Client -> SegmentId -> Maybe Char -> Maybe String -> Maybe String -> Maybe Bool -> Maybe Integer -> Maybe String -> Page -> PerPage -> IO (Either String [SegmentLeader])
- getPhotos :: Client -> ActivityId -> IO (Either String [PhotoSummary])
- getSegment :: Client -> SegmentId -> IO (Either String SegmentDetailed)
- getSegments :: Client -> (Double, Double, Double, Double) -> Maybe String -> Maybe Integer -> Maybe Integer -> IO (Either String [SegmentExploration])
- getStarredSegments :: Client -> Page -> PerPage -> IO (Either String [SegmentSummary])
- getZones :: Client -> ActivityId -> IO (Either String [ZoneSummary])
Documentation
getActivity :: Client -> ActivityId -> Maybe Bool -> IO (Either String ActivitySummary) Source
getAthlete :: Client -> AthleteId -> IO (Either String AthleteSummary) Source
getAthleteCRs :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [EffortSummary]) Source
getClubActivities :: Client -> ClubId -> Page -> PerPage -> IO (Either String [ActivitySummary]) Source
getClubMembers :: Client -> ClubId -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getComments :: Client -> ActivityId -> IncludeMarkdown -> Page -> PerPage -> IO (Either String [CommentSummary]) Source
getCommonFriends :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getCurrentActivities :: Client -> Maybe UTCTime -> Maybe UTCTime -> Page -> PerPage -> IO (Either String [ActivitySummary]) Source
getCurrentClubs :: Client -> IO (Either String [ClubSummary]) Source
getCurrentFollowers :: Client -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getCurrentFriends :: Client -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getEfforts :: Client -> SegmentId -> Maybe (UTCTime, UTCTime) -> Page -> PerPage -> IO (Either String [EffortSummary]) Source
getFollowers :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getFriends :: Client -> AthleteId -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getFriendsActivities :: Client -> Page -> PerPage -> IO (Either String [ActivitySummary]) Source
getKudoers :: Client -> ActivityId -> Page -> PerPage -> IO (Either String [AthleteSummary]) Source
getLeaders :: Client -> SegmentId -> Maybe Char -> Maybe String -> Maybe String -> Maybe Bool -> Maybe Integer -> Maybe String -> Page -> PerPage -> IO (Either String [SegmentLeader]) Source
getPhotos :: Client -> ActivityId -> IO (Either String [PhotoSummary]) Source
getSegment :: Client -> SegmentId -> IO (Either String SegmentDetailed) Source
getSegments :: Client -> (Double, Double, Double, Double) -> Maybe String -> Maybe Integer -> Maybe Integer -> IO (Either String [SegmentExploration]) Source
getStarredSegments :: Client -> Page -> PerPage -> IO (Either String [SegmentSummary]) Source