stravalib.client.Client.update_athlete

Client.update_athlete(city=None, state=None, country=None, sex=None, weight=None)[source]

Updates the properties of the authorized athlete.

https://developers.strava.com/docs/reference/#api-Athletes-updateLoggedInAthlete

Parameters
  • city – City the athlete lives in

  • state – State the athlete lives in

  • country – Country the athlete lives in

  • sex – Sex of the athlete

  • weight – Weight of the athlete in kg (float)

Returns

The updated athlete

Return type

stravalib.model.Athlete