Including genre, publisher, developer names in Games request

Need help with your application? Ask here.
Post Reply
Presence
Posts: 3
Joined: Thu Jul 12, 2018 11:12 pm

Including genre, publisher, developer names in Games request

Post by Presence »

Wondering if there are any plans (or current functionality I've overlooked) for including the names as well as the IDs of the genre, publisher, and developer fields when retrieving game information.

The current system only returns IDs which forces another API request for each just to get the name(s) of the field, and essentially perform a manual SQL join with the results of the two to four requests.

I could simply cache a full list of all genres/developers/publishers to cut down on the requests needed, but it seems like it would be more efficient on both ends if there was a way to fetch the name as well as the ID with each game request.

User avatar
Zer0xFF
Posts: 330
Joined: Fri Apr 20, 2018 9:18 am

Re: Including genre, publisher, developer names in Games request

Post by Zer0xFF »

Hi Presence,

you probably noticed how publishers/developers listing doesn't use pages, thats because we want you to cache that list to use as reference instead of constantly requesting this data from the database.
The current system only returns IDs which forces another API request for each
if you're doing this for each game, then you're doing something wrong, do consider caching the list,
as you'd only ever need to re-request the list if you come about a new id.

Regards
Zer0xFF
Regards
Zer0xFF

Post Reply