CFBD / cfbd-python

Python wrapper for the CFBD API
https://CollegeFootballData.com
134 stars 20 forks source link

ApiException: (401) Reason: Unauthorized HTTP response headers #10

Closed mattpfreer closed 11 months ago

mattpfreer commented 11 months ago

Getting an unauthorized error when I call the MetricsApi, is anyone else experiencing this / know what the issue is?

import cfbd configuration = cfbd.Configuration() configuration.api_key['Authorization'] = 'XYZ' configuration.api_key_prefix['Authorization'] = 'Bearer'

MetricsAPI

cfbd_metrics_api = cfbd.MetricsApi(cfbd.ApiClient(configuration))

mattpfreer commented 11 months ago

Working now, must have been a temporary API issue