\games vs \search

Avatar image for kurka
kurka

9

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hi

I'm new to GiantBomb API and so far it looks great!

I have two questions about searching for games:

  • It seems neither \games nor \search returns genres. Is this true or am I doing something wrong? I have included genres in the field_list
  • What is the preferred solution to search for a game by name? \search or \games? Some advantages/disadvanteges?

Thanks!

Avatar image for chaser324
chaser324

9415

Forum Posts

14945

Wiki Points

0

Followers

Reviews: 1

User Lists: 15

#2  Edited By chaser324  Moderator

On your first question, some fields just aren't present when you're pulling collections of things like games. Putting them in the field_list won't change that, you'll just have to go pull them individually to get that detailed information.

Honestly, not sure about the second question.

Avatar image for kurka
kurka

9

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Thanks! I can't find a good documentation on what fields are available where, but I guess it's just a matter of testing it.

/games has some advantages of filtering and sorting, but I assume /search is there for a reason too :)