Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.73 KB

VenuesApi.md

File metadata and controls

71 lines (52 loc) · 1.73 KB

CFBSharp.Api.VenuesApi

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

Method HTTP request Description
GetVenues GET /venues Arena and venue information

GetVenues

ICollection GetVenues ()

Arena and venue information

Venues

Example

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

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

            try
            {
                // Arena and venue information
                ICollection<Venue> result = apiInstance.GetVenues();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VenuesApi.GetVenues: " + 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]