yfpy.exceptions.YahooFantasySportsDataNotFound

exception YahooFantasySportsDataNotFound(message, payload=None, url=None)[source]

YFPY exception when no data was retrieved from the Yahoo Fantasy Sports REST API.

Instantiate YFPY exception.

Parameters
  • message (str) – Human readable string describing the exception.

  • payload (str, optional) – The API exception error payload.

  • url (str, optional) – Yahoo Fantasy Sports REST API URL.

message

Human readable string describing the exception.

Type

str

payload

The API exception error payload.

Type

str

url

Yahoo Fantasy Sports REST API URL.

Type

str