get Leagues
Retrieves a list of leagues.
Return
A Deferred object representing the list of leagues.
Parameters
pagination
An optional PaginationQuery object for customizing the pagination of the results.
Throws
If the API is in maintenance.
If the API returns an unexpected gateway exception.