All URIs are relative to https://www.strava.com/api/v3
Method | HTTP request | Description |
---|---|---|
get_gear_by_id | GET /gear/{id} | Get Equipment |
DetailedGear get_gear_by_id(id)
Get Equipment
Returns an equipment using its identifier.
from __future__ import print_function
import time
import strava_api_v3
from strava_api_v3.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: strava_oauth
configuration = strava_api_v3.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = strava_api_v3.GearsApi(strava_api_v3.ApiClient(configuration))
id = 56 # int | The identifier of the gear.
try:
# Get Equipment
api_response = api_instance.get_gear_by_id(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling GearsApi->get_gear_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | The identifier of the gear. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]