帖子
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.

Badprenup的介绍
加入时间
3 years ago
在线
1 year ago
记录
22
已玩过的游戏
Mercenaries 2 - Mobile
Mercenaries 2 - Mobile
最近一次游戏记录 1 year ago
13
记录
Mercenaries 2: PS2
Mercenaries 2: PS2
最近一次游戏记录 1 year ago
9
记录
Mercenaries 2: World in Flames
Mercenaries 2: World in Flames
最近一次游戏记录 3 years ago
1
记录
关注的游戏
Mercenaries 2: World in Flames
Mercenaries 2: World in Flames
最近一次访问时间 1 year ago
49
次访问
Mercenaries 2: PS2
Mercenaries 2: PS2
最近一次访问时间 1 year ago
89
次访问
Mercenaries 2 - Mobile
Mercenaries 2 - Mobile
最近一次访问时间 1 year ago
87
次访问
Mercenaries: Playground of Destruction
Mercenaries: Playground of Destruction
最近一次访问时间 1 year ago
3
次访问
负责管理的游戏
Mercenaries 2 - Mobile
Mercenaries 2 - Mobile
最近一次操作 1 year ago
13
操作
Mercenaries 2: PS2
Mercenaries 2: PS2
最近一次操作 1 year ago
8
操作
Mercenaries 2: World in Flames
Mercenaries 2: World in Flames
最近一次操作 2 years ago
1
操作