Data¶
-
class
apisports.data.AbstractData[source]¶ -
-
static
create(client, data)[source]¶ Factory method that creates the appropriate
AbstractDataobject for the given data- Returns
AbstractDataobject- Return type
-
static
-
class
apisports.data.PagedData(client, data)[source]¶ Automagically fetches next page for multi-page data.
-
exception
apisports.data.PagedDataError(message, error_description='')[source]¶ Raised when
PagedDataencounters an error when fetching the next page