EaSportsFcLeaguesService
A list of all methods in the EaSportsFcLeaguesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_fifa_leagues | List EA Sports FC leagues |
get_fifa_leagues
List EA Sports FC leagues
- HTTP Method:
GET
- Endpoint:
/fifa/leagues
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverFifaLeagues | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverFifaLeagues | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverFifaLeagues | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[League]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverFifaLeagues, RangeOverFifaLeagues, SearchOverFifaLeagues
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverFifaLeagues(
id_=[
9
],
modified_at=[
"adipisicing"
],
name=[
"aliqua non"
],
slug=[
"uawy_:e"
],
url=[
"labor"
]
)
range=RangeOverFifaLeagues(
id_=[
4
],
modified_at=[
"mini"
],
name=[
"ex Excep"
],
slug=[
"6"
],
url=[
"sint eu "
]
)
sort=[
""
]
search=SearchOverFifaLeagues(
name="cillum",
slug="6d",
url="non ullamco "
)
page=1
result = sdk.ea_sports_fc_leagues.get_fifa_leagues(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs