Ok I've got the Platform calls working well, but I'm not seeing a listing of the images related to each platform. Well there is some information there, but I can't make sense of it.
When I inspect the images presented on the website listing, the image filenames don't match up.
It looks like the Platform image data can be obtained via the "Games/Boxart?id=GameIDForAGameOnThePlatformYouWant" call, but that seems a little out of place? ie:
Code: Select all
{
"code": 200,
"status": "Success",
"data": {
"count": 1,
"base_url": {
"original": "https://cdn.thegamesdb.net/images/original/",
"small": "https://cdn.thegamesdb.net/images/small/",
"thumb": "https://cdn.thegamesdb.net/images/thumb/",
"cropped_center_thumb": "https://cdn.thegamesdb.net/images/cropped_center_thumb/",
"medium": "https://cdn.thegamesdb.net/images/medium/",
"large": "https://cdn.thegamesdb.net/images/large/"
},
"boxart": {
"1": [
{
"id": 242,
"type": "fanart",
"side": null,
"filename": "fanart/1-2.jpg",
"resolution": "1920x1080"
},
{
"id": 248,
"type": "fanart",
"side": null,
"filename": "fanart/1-3.jpg",
"resolution": "1920x1080"
},
{
"id": 249,
"type": "fanart",
"side": null,
"filename": "fanart/1-4.jpg",
"resolution": "1920x1080"
},
{
"id": 433,
"type": "fanart",
"side": null,
"filename": "fanart/1-5.jpg",
"resolution": "1920x1080"
},
{
"id": 476,
"type": "series",
"side": null,
"filename": "graphical/1-g.jpg",
"resolution": null
},
{
"id": 4277,
"type": "fanart",
"side": null,
"filename": "fanart/1-6.jpg",
"resolution": "1920x1080"
},
{
"id": 17158,
"type": "fanart",
"side": null,
"filename": "fanart/1-7.jpg",
"resolution": "1920x1080"
},
{
"id": 22963,
"type": "platform-banner",
"side": null,
"filename": "platform/banners/1-1.png",
"resolution": null
},
{
"id": 22977,
"type": "platform-boxart",
"side": null,
"filename": "platform/boxart/1-1.jpg",
"resolution": "763x1080"
},
{
"id": 22993,
"type": "platform-fanart",
"side": null,
"filename": "platform/fanart/1-1.jpg",
"resolution": "1920x1080"
},
{
"id": 23015,
"type": "platform-fanart",
"side": null,
"filename": "platform/fanart/1-2.jpg",
"resolution": "1920x1080"
},
{
"id": 23413,
"type": "boxart",
"side": "front",
"filename": "boxart/front/1-1.jpg",
"resolution": "1529x2156"
},
{
"id": 23414,
"type": "boxart",
"side": "back",
"filename": "boxart/back/1-1.jpg",
"resolution": "1527x2156"
},
{
"id": 24399,
"type": "platform-banner",
"side": null,
"filename": "platform/banners/1-2.jpg",
"resolution": null
},
{
"id": 26570,
"type": "platform-fanart",
"side": null,
"filename": "platform/fanart/1-3.jpg",
"resolution": "1920x1080"
},
{
"id": 26573,
"type": "platform-fanart",
"side": null,
"filename": "platform/fanart/1-4.jpg",
"resolution": "1920x1080"
},
{
"id": 48904,
"type": "platform-fanart",
"side": null,
"filename": "platform/fanart/1-5.jpg",
"resolution": "1920x1080"
},
{
"id": 60337,
"type": "screenshot",
"side": null,
"filename": "screenshots/1-1.jpg",
"resolution": null
},
{
"id": 60338,
"type": "screenshot",
"side": null,
"filename": "screenshots/1-2.jpg",
"resolution": null
},
{
"id": 60339,
"type": "screenshot",
"side": null,
"filename": "screenshots/1-3.jpg",
"resolution": null
},
{
"id": 96687,
"type": "clearlogo",
"side": null,
"filename": "clearlogo/1.png",
"resolution": "400x200"
}
]
}
},
"pages": {
"previous": null,
"current": "https://api.thegamesdb.net/Games/Boxart?games_id=1&apikey=removed&filter=fanart%2Cseries%2Cboxart%2Cscreenshot%2Cplatform-banner%2Cplatform-fanart%2Cplatform-boxart%2Cclearlogo&page=1",
"next": null
},
"remaining_monthly_allowance": 966,
"extra_allowance": 0
}