Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.46 KB

VenuesApi.md

File metadata and controls

59 lines (40 loc) · 1.46 KB

cfbd.VenuesApi

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

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

get_venues

list[Venue] get_venues()

Arena and venue information

Venues

Example

from __future__ import print_function
import time
import cfbd
from cfbd.rest import ApiException
from pprint import pprint

# Configure API key authorization: ApiKeyAuth
configuration = cfbd.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = cfbd.VenuesApi(cfbd.ApiClient(configuration))

try:
    # Arena and venue information
    api_response = api_instance.get_venues()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VenuesApi->get_venues: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[Venue]

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]