I was looking to include developer names with the game names and decks for search results, but I noticed that the search only returns a limited number of fields, of which developers is not among them. I assume this selectivity is to lighten the load for the query, but now I am unsure as to what to do.
From my perspective, the only thing I can do is query for the search results and make sure "id" is among the included fields. Then I would query for each individual search result again, using the id to get the developers. Is this the way to do it? It just seems like a lot of api calling on my end, although I suppose it's a max of 20.
I'm pretty new to XML, but now that I understand it and API's, there's a whole world of free information I have access to.
Limited Fields on Search
Yeah, do another lookup for the resource with the specific id that you want. As you continue to use the API, you may find yourself doing that often.
Please Log In to post.
Log in to comment