Skip to content

Getting a set

Request

$set = $tcgdex->fetchSet('swsh3');

See how to setup the PHP SDK

Sample Response

{
"cardCount": {
"firstEd": 0,
"holo": 64,
"normal": 137,
"official": 189,
"reverse": 155,
"total": 201
},
"cards": [
{
"id": "swsh3-1",
"image": "https://assets.tcgdex.net/en/swsh/swsh3/1",
"localId": "1",
"name": "Butterfree V"
},
// ...
{
"id": "swsh3-136",
"image": "https://assets.tcgdex.net/en/swsh/swsh3/136",
"localId": "136",
"name": "Furret"
},
// ...
{
"id": "swsh3-201",
"image": "https://assets.tcgdex.net/en/swsh/swsh3/201",
"localId": "201",
"name": "Capture Energy"
}
],
"id": "swsh3",
"legal": {
"expanded": true,
"standard": false
},
"logo": "https://assets.tcgdex.net/en/swsh/swsh3/logo",
"name": "Darkness Ablaze",
"releaseDate": "2020-08-14",
"serie": {
"id": "swsh",
"name": "Sword & Shield"
},
"symbol": "https://assets.tcgdex.net/univ/swsh/swsh3/symbol"
}