How do I get all the games from a specific franchise?

Avatar image for manathirst
manathirst

190

Forum Posts

56

Wiki Points

0

Followers

Reviews: 3

User Lists: 4

#1  Edited By manathirst

Can someone give me an example on how I can retrieve a list of all games from the Tekken franchise?

Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#2  Edited By LordAndrew

The "games" field has what you want. In XML each game appears as a separate "game" entity, and in JSON the game information is contained within an array.

Avatar image for jlrm01
jlrm01

2630

Forum Posts

83993

Wiki Points

0

Followers

Reviews: 0

User Lists: 24

#3  Edited By jlrm01

A quick and dirty Python example (using the interactive interpreter; Python 2.6 required or json must be installed separately, I guess).  Would look so neat with those code colorizer thingies you can embed on pages. Sorry if I'm not supposed to post code...

>>> import urllib, json
>>> results = urllib.urlopen('http://api.giantbomb.com/franchise/333/?api_key=