A Python library for accessing the Strava V3 REST API. Current version is 2.4, requires Python >=3.10. Follows semantic versioning.
pip install stravalibNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Set up a client with an access token and fetch the authenticated athlete's profile.
Update imports: from stravalib.client import Client
Review attribute names if upgrading from 1.x. Refer to v2 migration guide.
Iterate over result or convert with list().
Use `from stravalib.client import Client` instead.
Use `from stravalib.client import Client`
Check attribute names with dir(athlete) or consult docs. Known changes: 'city' -> 'city' (same), 'state' -> 'state', 'sex' -> 'sex'.