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.
Including genre, publisher, developer names in Games request
Re: Including genre, publisher, developer names in Games request
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.
as you'd only ever need to re-request the list if you come about a new id.
Regards
Zer0xFF
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.
if you're doing this for each game, then you're doing something wrong, do consider caching the list,The current system only returns IDs which forces another API request for each
as you'd only ever need to re-request the list if you come about a new id.
Regards
Zer0xFF
Regards
Zer0xFF
Zer0xFF