PubgSeriesService
A list of all methods in the PubgSeriesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_pubg_series | List series for the PUBG videogame |
get_pubg_series_past | List past PUBG series |
get_pubg_series_running | List running PUBG series |
get_pubg_series_upcoming | List upcoming PUBG series |
get_pubg_series
List series for the PUBG videogame
- HTTP Method:
GET
- Endpoint:
/pubg/series
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverPubgSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverPubgSeries | ❌ | 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 | SearchOverPubgSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverPubgSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverPubgSeries,
SearchOverPubgSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverPubgSeriesVideogameTitle = 3;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverPubgSeries: FilterOverPubgSeries = {
beginAt: ['ex'],
endAt: ['Lorem '],
id: [5],
leagueId: [5],
modifiedAt: ['do'],
name: ['nisi culpa'],
season: ['ut ea i'],
slug: ['ohs'],
videogameTitle: [filterOverPubgSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverPubgSeries: RangeOverPubgSeries = {
beginAt: ['c'],
endAt: ['amet elit et i'],
id: [2],
leagueId: [4],
modifiedAt: ['fugiat id'],
name: ['in enim '],
season: ['occaecat n'],
slug: ['z7v95uzd6'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverPubgSeries: SearchOverPubgSeries = {
name: 'nostrud ipsu',
season: 'velit',
slug: 'gu',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.pubgSeries.getPubgSeries({
filter: filterOverPubgSeries,
range: rangeOverPubgSeries,
sort: [[]],
search: searchOverPubgSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
get_pubg_series_past
List past PUBG series
- HTTP Method:
GET
- Endpoint:
/pubg/series/past
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverPubgSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverPubgSeries | ❌ | 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 | SearchOverPubgSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverPubgSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverPubgSeries,
SearchOverPubgSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverPubgSeriesVideogameTitle = 3;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverPubgSeries: FilterOverPubgSeries = {
beginAt: ['ex'],
endAt: ['Lorem '],
id: [5],
leagueId: [5],
modifiedAt: ['do'],
name: ['nisi culpa'],
season: ['ut ea i'],
slug: ['ohs'],
videogameTitle: [filterOverPubgSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverPubgSeries: RangeOverPubgSeries = {
beginAt: ['c'],
endAt: ['amet elit et i'],
id: [2],
leagueId: [4],
modifiedAt: ['fugiat id'],
name: ['in enim '],
season: ['occaecat n'],
slug: ['z7v95uzd6'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverPubgSeries: SearchOverPubgSeries = {
name: 'nostrud ipsu',
season: 'velit',
slug: 'gu',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.pubgSeries.getPubgSeriesPast({
filter: filterOverPubgSeries,
range: rangeOverPubgSeries,
sort: [[]],
search: searchOverPubgSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
get_pubg_series_running
List running PUBG series
- HTTP Method:
GET
- Endpoint:
/pubg/series/running
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverPubgSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverPubgSeries | ❌ | 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 | SearchOverPubgSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverPubgSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverPubgSeries,
SearchOverPubgSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverPubgSeriesVideogameTitle = 3;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverPubgSeries: FilterOverPubgSeries = {
beginAt: ['ex'],
endAt: ['Lorem '],
id: [5],
leagueId: [5],
modifiedAt: ['do'],
name: ['nisi culpa'],
season: ['ut ea i'],
slug: ['ohs'],
videogameTitle: [filterOverPubgSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverPubgSeries: RangeOverPubgSeries = {
beginAt: ['c'],
endAt: ['amet elit et i'],
id: [2],
leagueId: [4],
modifiedAt: ['fugiat id'],
name: ['in enim '],
season: ['occaecat n'],
slug: ['z7v95uzd6'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverPubgSeries: SearchOverPubgSeries = {
name: 'nostrud ipsu',
season: 'velit',
slug: 'gu',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.pubgSeries.getPubgSeriesRunning({
filter: filterOverPubgSeries,
range: rangeOverPubgSeries,
sort: [[]],
search: searchOverPubgSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
get_pubg_series_upcoming
List upcoming PUBG series
- HTTP Method:
GET
- Endpoint:
/pubg/series/upcoming
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverPubgSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverPubgSeries | ❌ | 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 | SearchOverPubgSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverPubgSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverPubgSeries,
SearchOverPubgSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverPubgSeriesVideogameTitle = 3;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverPubgSeries: FilterOverPubgSeries = {
beginAt: ['ex'],
endAt: ['Lorem '],
id: [5],
leagueId: [5],
modifiedAt: ['do'],
name: ['nisi culpa'],
season: ['ut ea i'],
slug: ['ohs'],
videogameTitle: [filterOverPubgSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverPubgSeries: RangeOverPubgSeries = {
beginAt: ['c'],
endAt: ['amet elit et i'],
id: [2],
leagueId: [4],
modifiedAt: ['fugiat id'],
name: ['in enim '],
season: ['occaecat n'],
slug: ['z7v95uzd6'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverPubgSeries: SearchOverPubgSeries = {
name: 'nostrud ipsu',
season: 'velit',
slug: 'gu',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.pubgSeries.getPubgSeriesUpcoming({
filter: filterOverPubgSeries,
range: rangeOverPubgSeries,
sort: [[]],
search: searchOverPubgSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs