GetPlatformGames

From TheGamesDB Wiki
Jump to: navigation, search

The GetPlatformGames API method returns a listing of all games (like GetGamesList) available on the site for the given platform.


Note: We have implemented special character stripping and loose word order searching in an attempt to provide better matching and a return a greater number of relevant hits.


Changelog:

#-##-##: Initial Release.


Parameters:

platform (optional): the integer id of the required platform, as retrived from GetPlatformsList)


Example Request:

http://thegamesdb.net/api/GetPlatformGames.php?platform=1

Example Response:

<Data>
    <Game>
        <id>1</id>
        <GameTitle>Halo: Combat Evolved</GameTitle>
        <ReleaseDate>11/15/2001</ReleaseDate>
    </Game>
    <Game>
        <id>2</id>
        <GameTitle>Crysis</GameTitle>
        <ReleaseDate>11/13/2007</ReleaseDate>
    </Game>
    <Game>
        <id>9064</id>
        <GameTitle>Shank 2</GameTitle>
        <ReleaseDate>02/07/2012</ReleaseDate>
    </Game>
    <Game>
        <id>9</id>
        <GameTitle>Halo 2</GameTitle>
        <ReleaseDate>05/31/2007</ReleaseDate>
    </Game>
    <Game>
        <id>12</id>
        <GameTitle>Assassin's Creed</GameTitle>
        <ReleaseDate>11/14/2007</ReleaseDate>
    </Game>
    <Game>
        <id>13</id>
        <GameTitle>BioShock</GameTitle>
        <ReleaseDate>08/21/2007</ReleaseDate>
    </Game>
    <Game>
        <id>14</id>
        <GameTitle>Dead Space</GameTitle>
        <ReleaseDate>10/14/2008</ReleaseDate>
    </Game>
    <Game>
        <id>18</id>
        <GameTitle>Driver: Parallel Lines</GameTitle>
        <ReleaseDate>06/26/2007</ReleaseDate>
    </Game>
    <Game>
        <id>22</id>
        <GameTitle>Left 4 Dead</GameTitle>
        <ReleaseDate>11/17/2008</ReleaseDate>
    </Game>
</Data>
Personal tools
Namespaces

Variants
Actions
Navigation
Contents
Toolbox