You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduction of activity sport_type. This is the preferred field to use moving forward, as opposed to type, which is now considered deprecated. Please note: this change is backward compatible and type will still be supported. The SportType enumeration is distinct from ActivityType in that it includes new types (e.g. MountainBikeRide). In requests where both type and sport_type are present, type will be ignored.
There are several client methods that use type or activity_type arguments. These should be deprecated and replaced by the preferred sport_type.
The text was updated successfully, but these errors were encountered:
i'm attempting the first part of this. it seems to be generally working in think but i don't fully understand how to adjust the tests to ensure things work with sport_type and variations of sport type vs "type" or activity_type in our code. .
From the Strava API changelog:
There are several
client
methods that usetype
oractivity_type
arguments. These should be deprecated and replaced by the preferredsport_type
.The text was updated successfully, but these errors were encountered: