EaSportsFcTeamsService
A list of all methods in the EaSportsFcTeamsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_fifa_teams | List teams for the EA Sports FC videogame |
get_fifa_teams
List teams for the EA Sports FC videogame
- HTTP Method:
GET
- Endpoint:
/fifa/teams
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverFifaTeams | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverFifaTeams | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | any[] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverFifaTeams | ❌ | 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 |
perPage | number | ❌ | Equivalent to page[size] |
Return Type
Team[]
Example Usage Code Snippet
import {
FilterOverFifaTeams,
Page,
PandascoreClient,
RangeOverFifaTeams,
SearchOverFifaTeams,
VideogameId,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const videogameId = VideogameId._1;
const filterOverFifaTeams: FilterOverFifaTeams = {
acronym: ['nostrud in vel'],
id: [10],
location: ['reprehenderit t'],
modifiedAt: ['consectetur cil'],
name: ['quis Lor'],
slug: ['d3c'],
videogameId: [videogameId],
};
const rangeOverFifaTeams: RangeOverFifaTeams = {
acronym: ['minim '],
id: [6],
location: ['Duis in'],
modifiedAt: ['ut cu'],
name: ['consectetur '],
slug: ['o4l8d'],
};
const searchOverFifaTeams: SearchOverFifaTeams = {
acronym: 'labore',
location: 'minim ullamco c',
name: 'quilaboris',
slug: '9ch1_rro',
};
const page = 1;
const { data } = await pandascoreClient.eaSportsFcTeams.getFifaTeams({
filter: filterOverFifaTeams,
range: rangeOverFifaTeams,
sort: [[]],
search: searchOverFifaTeams,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs