Getting an inordinate amount of results for a simple query

Avatar image for funnyman22
Funnyman22

43

Forum Posts

179

Wiki Points

0

Followers

Reviews: 3

User Lists: 4

#1  Edited By Funnyman22

I've been goofing off with the GB API a bit, and was surprised when I did a query for characters with the name "Scorpion", and received a response with 9035 results in it. Here's the search query I did:

http://api.giantbomb.com/characters/?api_key=ABCDEFGHIJK&name=Scorpion&format=xml
I then tried using the aliases field with the same string, same result. Sure, the results are sorted by what matches best, but It looks like the API is returning ALL characters in the DB rather than just the ones that are relevant. 

Thoughts? Suggestions? Am I doing something wrong?

Thanks,
Funnyman

Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#2  Edited By andy

There isn't a "name" filter setup yet on the character resource.  So you're actually getting all characters.  We're going to be setting some of those up today.

Avatar image for funnyman22
Funnyman22

43

Forum Posts

179

Wiki Points

0

Followers

Reviews: 3

User Lists: 4

#3  Edited By Funnyman22

Awesome - thanks for the quick response.

Will you guys be updating the documentation as time goes on to reflect the new filters you've set up? Or is it an "update at the end of the day" kind of thing?
Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#4  Edited By andy

The doc's auto-magically get updated when we make changes to the API :)