Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.78 KB

ConferencesApi.md

File metadata and controls

71 lines (52 loc) · 1.78 KB

CFBSharp.Api.ConferencesApi

All URIs are relative to https://api.collegefootballdata.com

Method HTTP request Description
GetConferences GET /conferences Conferences

GetConferences

ICollection GetConferences ()

Conferences

Get conference list

Example

using System;
using System.Diagnostics;
using CFBSharp.Api;
using CFBSharp.Client;
using CFBSharp.Model;

namespace Example
{
    public class GetConferencesExample
    {
        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 ConferencesApi();

            try
            {
                // Conferences
                ICollection<Conference> result = apiInstance.GetConferences();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConferencesApi.GetConferences: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ICollection

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]