How do I set up a data feed/extract

Avatar image for gowans007
Gowans007

23

Forum Posts

20

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By Gowans007

I am want to create a feed to look through the games and pick out in XML

Game Name, Platforms, Genre, Publisher, Release Data & Box Art URL used on the Games page.

Any ideas on how I do this or get started on it?

Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#2  Edited By andy

Sounds like you'd want to use the "Games" List resource.  The URL would look like:


http://api.giantbomb.com/games/?api_key=XXXXXXXXXXXXXX&format=xml

Where XXXXXXXXXXXXXXXX is your api key.

You can paginate through this list using the limit and offset filters.


Avatar image for gowans007
Gowans007

23

Forum Posts

20

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By Gowans007
@andy: I am trying to cut down the info with filter, field_list and sort but I'm not getting anywhere?

360 as example
http://api.giantbomb.com/games/?api_key=xxxxxxx&format=xml&field_list=name,image,genres,platforms,publishers,release_date&filter_type=platform&filter_value=X360&sort=release_date

but I just get everything, I also want to only have one image (the box art displayed on the game page).

Any Ideas?
Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#4  Edited By LordAndrew
@Gowans007: filter_type and filter_value are not valid parameters. The documentation lists a platforms parameter, so use that instead.
In addition, only reviews and videos have a sort option. You'll have to code your application to do the sorting for you if that's what you want. You'd use the original_release_date field, or the expected_release_month, expected_release_quarter, and expected_release_year fields.