Something went wrong. Try again later

claiver

This user has not updated recently.

16 14 16 0
Forum Posts Wiki Points Following Followers

claiver's forum posts

  • 13 results
  • 1
  • 2
Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By claiver

@frobie: Do you think there would be any possibility to somehow have the URLs for the Squared images for games available (as used on the Giantbomb Games listing)?
That would work really well with listings of games, currently I need to use the small_url which is still about 300px in width; quite large and I need to scale them down to about 150x150, a bit of a loss of bandwidth.

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#2  Edited By claiver

I just installed it, then searched for "World of Warcraft", when trying to open the game in the search results the App shuts down (crash).

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By claiver

@frobie: the &page parameter seems to have no effect on the /games/ command; &offset works though.

Also: the pages numbers seems to be incorrect when querying /games/?limit=100&filter=platforms:94|17
It states my limit is 100, and the number_of_pages seems to be equal to the limit, as @beforeseven described above.

See here:

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#4  Edited By claiver

@frobie: There's an inconsistency with querying /games/ and a querying single game through /game/. Certain games with merely Stubs show up when requesting a list of games through /games/, but then I cannot load them individually, I get a "Object Not Found" message.

Example: World of Fantasy, shows up on /games/&filter=name:World%20of%20Fantasy but loading it through /game/3030-4975/ gives the error.
I think it would be good to either hide the stubs from /games/ or show the stubs at /game/.

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

@frobie: Much appreciated, keep up the good work!
I take it www.giantbomb.com/api/ will always be available, myes? In that case I'll just let my application rely on that url instead of the pretty api.giantbomb.com url.

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#6  Edited By claiver

@frobie: It would be really nice if the /search API could inherit the filters from for example /games, or that there's a better way to search for games with /games.

Searching for games at /games is not very efficient, for the ?filter=name:value parameter has to match the entire name. For example, /games/?filter=name:Guild%20Wars will not send back a list of titles that match Guild Wars, but instead an empty set. Though /games/?filter=name:World will give a list of titles that have World in it. How does this work?

Note: the api_key parameter is left out for the examples, but used when testing the above.

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#7  Edited By claiver

Hm when I try it with MediumText my content is cut-off, but with a LongText it works just fine.. Any ideas?

Edit: Trying this again seems to have solved this for some mysterious reason ... !

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#8  Edited By claiver

So I'm caching the descriptions of games locally for faster loading and for most of the games I noticed a mediumtext field type works fine.

But there's some games out there with a big-ass description, such as World of Warcraft or Star Wars the Old Republic. The values of these descriptions were truncated in the database, resulting in the HTML being broken when displayed.

Now I have set the field type to longtext but the difference between mediumtext and longtext is incredibly big, look at these values:

mediumtext: 16777215 maximum characters

longtext: 4294967295 maximum characters (source)

How does one best go about solving this? Keeping it at longtext? Or is there another (better) way of achieving the saving of this data?

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9  Edited By claiver

As you can see here (look at the /games/ section) there is only a limited amount of fields you can retrieve through the /games/ object type. If you want more information I believe the only way is to get the game with api.giantbomb.com/game/<id>/ :o

Avatar image for claiver
claiver

16

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#10  Edited By claiver

@baboonworksfine: Greetings! For the platform filter to work you need to use the numerical identifier of said platform. You can find this in the URL of the actual page of said platform (PS3 = 88).

Going for a http://api.giantbomb.com/games/?api_key=myKey&platforms=88 should work! (so you have &platforms=88 )

  • 13 results
  • 1
  • 2