AthletesApi

All URIs are relative to https://www.strava.com/api/v3

MethodHTTP requestDescription
getloggedin_athleteGET /athleteGet Authenticated Athlete
getloggedinathletezonesGET /athlete/zonesGet Zones
get_statsGET /athletes/{id}/statsGet Athlete Stats
updateloggedin_athletePUT /athleteUpdate Athlete

getloggedin_athlete

get_logged_in_athlete(api::AthletesApi; _mediaType=nothing) -> DetailedAthlete, OpenAPI.Clients.ApiResponse <br/> `getloggedinathlete(_api::AthletesApi, response_stream::Channel; _mediaType=nothing) ->Channel{DetailedAthlete},OpenAPI.Clients.ApiResponse`

Get Authenticated Athlete

Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation.

Required Parameters

This endpoint does not need any parameter.

Return type

DetailedAthlete

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getloggedinathletezones

get_logged_in_athlete_zones(api::AthletesApi; _mediaType=nothing) -> Zones, OpenAPI.Clients.ApiResponse <br/> `getloggedinathletezones`(api::AthletesApi, response_stream::Channel; _mediaType=nothing) -> Channel{ Zones }, OpenAPI.Clients.ApiResponse

Get Zones

Returns the the authenticated athlete's heart rate and power zones. Requires profile:read_all.

Required Parameters

This endpoint does not need any parameter.

Return type

Zones

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_stats

get_stats(api::AthletesApi, id::Int64; _mediaType=nothing) -> ActivityStats, OpenAPI.Clients.ApiResponse <br/> `getstats(_api::AthletesApi, response_stream::Channel,id::Int64; _mediaType=nothing) ->Channel{ActivityStats},OpenAPI.Clients.ApiResponse`

Get Athlete Stats

Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty.

Required Parameters

NameTypeDescriptionNotes
_apiAthletesApiAPI context
idInt64The identifier of the athlete. Must match the authenticated athlete.

Return type

ActivityStats

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

updateloggedin_athlete

update_logged_in_athlete(api::AthletesApi, weight::Float32; _mediaType=nothing) -> DetailedAthlete, OpenAPI.Clients.ApiResponse <br/> `updateloggedinathlete(_api::AthletesApi, response_stream::Channel,weight::Float32; _mediaType=nothing) ->Channel{DetailedAthlete},OpenAPI.Clients.ApiResponse`

Update Athlete

Update the currently authenticated athlete. Requires profile:write scope.

Required Parameters

NameTypeDescriptionNotes
_apiAthletesApiAPI context
weightFloat32The weight of the athlete in kilograms.

Return type

DetailedAthlete

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]