Threads
United StatesBadprenup1 year ago

I'm digging into the API for the site and I notice when pulling data for a game there are four "cover" sizes within the JSON for the assets. They are "cover-tiny", "cover-small", "cover-medium", and "cover-large".

From what I have seen pulling random games in the API and looking at these, I haven't seen any difference in the URI for each cover asset, they are always identical. I also noticed that there doesn't seem to be a different URI if there is a Cover and a Japanese Cover saved for the game. I couldn't see how a game with only a Japanese Cover would show up in the API, since the only game I am a moderator of has both covers and I can't see that detail on games I'm not a moderator of.

Based on this, when I pull the assets is there a preferred cover size to use? I want to try and future proof my code so that I'm pulling the best option when/if the site uses these different sizes if they aren't already.

The actual dimensions of the image on my end doesn't matter as I'll scale appropriately after pulling it, I just want to try and ensure I will always pull a cover image for any game I that has a cover.

About Badprenup
Joined
3 years ago
Online
1 year ago
Runs
22
Games run
Mercenaries 2 - Mobile
Mercenaries 2 - Mobile
Last run 1 year ago
13
Runs
Mercenaries 2: PS2
Mercenaries 2: PS2
Last run 2 years ago
9
Runs
Mercenaries 2: World in Flames
Mercenaries 2: World in Flames
Last run 3 years ago
1
Run
Games followed
Mercenaries 2: World in Flames
Mercenaries 2: World in Flames
Last visit 1 year ago
49
visits
Mercenaries 2: PS2
Mercenaries 2: PS2
Last visit 1 year ago
89
visits
Mercenaries 2 - Mobile
Mercenaries 2 - Mobile
Last visit 1 year ago
87
visits
Mercenaries: Playground of Destruction
3
visits
Games moderated
Mercenaries 2 - Mobile
Mercenaries 2 - Mobile
Last action 1 year ago
13
actions
Mercenaries 2: PS2
Mercenaries 2: PS2
Last action 2 years ago
8
actions
Mercenaries 2: World in Flames
Mercenaries 2: World in Flames
Last action 2 years ago
1
action