All URIs are relative to https://api.collegefootballdata.com
Method | HTTP request | Description |
---|---|---|
GetCoaches | GET /coaches | Coaching records and history |
ICollection GetCoaches (string firstName = null, string lastName = null, string team = null, int? year = null, int? minYear = null, int? maxYear = null)
Coaching records and history
Coaching history
using System;
using System.Diagnostics;
using CFBSharp.Api;
using CFBSharp.Client;
using CFBSharp.Model;
namespace Example
{
public class GetCoachesExample
{
public void main()
{
// Configure API key authorization: ApiKeyAuth
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new CoachesApi();
var firstName = firstName_example; // string | First name filter (optional)
var lastName = lastName_example; // string | Last name filter (optional)
var team = team_example; // string | Team name filter (optional)
var year = 56; // int? | Year filter (optional)
var minYear = 56; // int? | Minimum year filter (inclusive) (optional)
var maxYear = 56; // int? | Maximum year filter (inclusive) (optional)
try
{
// Coaching records and history
ICollection<Coach> result = apiInstance.GetCoaches(firstName, lastName, team, year, minYear, maxYear);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CoachesApi.GetCoaches: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
firstName | string | First name filter | [optional] |
lastName | string | Last name filter | [optional] |
team | string | Team name filter | [optional] |
year | int? | Year filter | [optional] |
minYear | int? | Minimum year filter (inclusive) | [optional] |
maxYear | int? | Maximum year filter (inclusive) | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]