Data¶
-
class
apisports.data.
AbstractData
[source]¶ -
-
static
create
(client, data)[source]¶ Factory method that creates the appropriate
AbstractData
object for the given data- Returns
AbstractData
object- 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
PagedData
encounters an error when fetching the next page