EaSportsFcPlayersService
A list of all methods in the EaSportsFcPlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_fifa_players | List players for the EA Sports FC videogame |
get_fifa_players
List players for the EA Sports FC videogame
- HTTP Method:
GET
- Endpoint:
/fifa/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverFifaPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverFifaPlayers | ❌ | 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 | SearchOverFifaPlayers | ❌ | 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[Player]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverFifaPlayers, RangeOverFifaPlayers, SearchOverFifaPlayers
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverFifaPlayers(
active=False,
birthday=[
"exercita"
],
first_name=[
"eu ex"
],
id_=[
9
],
last_name=[
"adipisicing"
],
modified_at=[
"in"
],
name=[
"ullamco"
],
nationality=[
"minim c"
],
role=[
"dodolor"
],
slug=[
"8w"
],
team_id=[
6
],
videogame_id=[
1
]
)
range=RangeOverFifaPlayers(
birthday=[
"suntdolor "
],
first_name=[
"Ut lab"
],
id_=[
5
],
last_name=[
"voluptate in qu"
],
modified_at=[
"a"
],
name=[
"inmagna dolore "
],
nationality=[
"veniam"
],
role=[
"cupidatat "
],
slug=[
"tcgk"
]
)
sort=[
""
]
search=SearchOverFifaPlayers(
birthday="exercita",
first_name="commodo in la",
last_name="mollit adipisi",
name="tempor magna",
nationality="minim iru",
role="aliquip",
slug="dh5195t0x"
)
page=1
result = sdk.ea_sports_fc_players.get_fifa_players(
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