All URIs are relative to https://www.strava.com/api/v3
Method | HTTP request | Description |
---|---|---|
GetGearById | GET /gear/{id} | Get Equipment |
DetailedGear GetGearById (int? id)
Get Equipment
Returns an equipment using its identifier.
using System;
using System.Diagnostics;
using Strava.NET.Api;
using Strava.NET.Client;
using Strava.NET.Model;
namespace Example
{
public class GetGearByIdExample
{
public void main()
{
// Configure OAuth2 access token for authorization: strava_oauth
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new GearsApi();
var id = 56; // int? | The identifier of the gear.
try
{
// Get Equipment
DetailedGear result = apiInstance.GetGearById(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling GearsApi.GetGearById: " + e.Message );
}
}
}
}
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]