stravalib.client.Client.update_athlete#

Client.update_athlete(city: str | None = None, state: str | None = None, country: str | None = None, sex: str | None = None, weight: float | None = None) Athlete[source]#

Updates the properties of the authorized athlete.

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

Parameters:
  • city (str, default=None) – City the athlete lives in .. deprecated:: 1.0 This param is not supported by the Strava API and may be removed in the future.

  • state (str, default=None) – State the athlete lives in .. deprecated:: 1.0 This param is not supported by the Strava API and may be removed in the future.

  • country (str, default=None) – Country the athlete lives in .. deprecated:: 1.0 This param is not supported by the Strava API and may be removed in the future.

  • sex (str, default=None) – Sex of the athlete .. deprecated:: 1.0 This param is not supported by the Strava API and may be removed in the future.

  • weight (float, default=None) – Weight of the athlete in kg (float)