Basic Help Needed

Avatar image for toneloki
ToneLoki

5

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By ToneLoki

http://api.giantbomb.com/game/2950/?api_key=xxx

All i want is to parse the name of the game, and a few other fields...

Title, genres, developers, platforms, original_release_date, and image.

Can anyone provide me with example URL(s)? 
Or is the URL "http://api.giantbomb.com/game/2950/?api_key=xxx" as detailed as you can get, and then the parse what you want via javascript, PHP ,etc?

Does anyone have a sample page I can view source on?
Thanks in advance
Tone


Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#2  Edited By andy

Every resource has the "field_list" filter to limit the fields returned to exactly what you're looking for.


For example, to retrieve just the name, deck and description, add "&field_list=name,description,deck" to your URL.
Avatar image for toneloki
ToneLoki

5

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By ToneLoki
@andy:  Thanks Andy!! 

I see that clearly now in the documentation. It didnt register when I first read it.
Much appreciated!  This is really cool! 

Tone