PSN API


Click here for a complete list of operations.

getGames

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sPSNID:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ps3/api/psn.asmx HTTP/1.1
Host: www.psnapi.com.ar
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.psnapi.com.ar/ps3/api/getGames"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getGames xmlns="http://www.psnapi.com.ar/ps3/api">
      <sPSNID>string</sPSNID>
    </getGames>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getGamesResponse xmlns="http://www.psnapi.com.ar/ps3/api">
      <getGamesResult>
        <Game>
          <Id>string</Id>
          <IdGameEurope>string</IdGameEurope>
          <Title>string</Title>
          <Image>string</Image>
          <Guide>string</Guide>
          <TitleOnGuide>string</TitleOnGuide>
          <Progress>int</Progress>
          <TrophiesCount>
            <Earned>int</Earned>
            <Total>int</Total>
            <Platinum>int</Platinum>
            <Gold>int</Gold>
            <Silver>int</Silver>
            <Bronze>int</Bronze>
            <ExtensionData xsi:nil="true" />
          </TrophiesCount>
          <Trophies>
            <Trophy xsi:nil="true" />
            <Trophy xsi:nil="true" />
          </Trophies>
          <OrderPlayed>int</OrderPlayed>
          <Updated>boolean</Updated>
          <LastUpdated>dateTime</LastUpdated>
          <Released>dateTime</Released>
          <TotalPoints>int</TotalPoints>
          <TotalTrophies>int</TotalTrophies>
          <UserPoints>int</UserPoints>
          <Stars>double</Stars>
          <Reviews>int</Reviews>
          <Platform>string</Platform>
          <ExtensionData />
        </Game>
        <Game>
          <Id>string</Id>
          <IdGameEurope>string</IdGameEurope>
          <Title>string</Title>
          <Image>string</Image>
          <Guide>string</Guide>
          <TitleOnGuide>string</TitleOnGuide>
          <Progress>int</Progress>
          <TrophiesCount>
            <Earned>int</Earned>
            <Total>int</Total>
            <Platinum>int</Platinum>
            <Gold>int</Gold>
            <Silver>int</Silver>
            <Bronze>int</Bronze>
            <ExtensionData xsi:nil="true" />
          </TrophiesCount>
          <Trophies>
            <Trophy xsi:nil="true" />
            <Trophy xsi:nil="true" />
          </Trophies>
          <OrderPlayed>int</OrderPlayed>
          <Updated>boolean</Updated>
          <LastUpdated>dateTime</LastUpdated>
          <Released>dateTime</Released>
          <TotalPoints>int</TotalPoints>
          <TotalTrophies>int</TotalTrophies>
          <UserPoints>int</UserPoints>
          <Stars>double</Stars>
          <Reviews>int</Reviews>
          <Platform>string</Platform>
          <ExtensionData />
        </Game>
      </getGamesResult>
    </getGamesResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ps3/api/psn.asmx HTTP/1.1
Host: www.psnapi.com.ar
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getGames xmlns="http://www.psnapi.com.ar/ps3/api">
      <sPSNID>string</sPSNID>
    </getGames>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getGamesResponse xmlns="http://www.psnapi.com.ar/ps3/api">
      <getGamesResult>
        <Game>
          <Id>string</Id>
          <IdGameEurope>string</IdGameEurope>
          <Title>string</Title>
          <Image>string</Image>
          <Guide>string</Guide>
          <TitleOnGuide>string</TitleOnGuide>
          <Progress>int</Progress>
          <TrophiesCount>
            <Earned>int</Earned>
            <Total>int</Total>
            <Platinum>int</Platinum>
            <Gold>int</Gold>
            <Silver>int</Silver>
            <Bronze>int</Bronze>
            <ExtensionData xsi:nil="true" />
          </TrophiesCount>
          <Trophies>
            <Trophy xsi:nil="true" />
            <Trophy xsi:nil="true" />
          </Trophies>
          <OrderPlayed>int</OrderPlayed>
          <Updated>boolean</Updated>
          <LastUpdated>dateTime</LastUpdated>
          <Released>dateTime</Released>
          <TotalPoints>int</TotalPoints>
          <TotalTrophies>int</TotalTrophies>
          <UserPoints>int</UserPoints>
          <Stars>double</Stars>
          <Reviews>int</Reviews>
          <Platform>string</Platform>
          <ExtensionData />
        </Game>
        <Game>
          <Id>string</Id>
          <IdGameEurope>string</IdGameEurope>
          <Title>string</Title>
          <Image>string</Image>
          <Guide>string</Guide>
          <TitleOnGuide>string</TitleOnGuide>
          <Progress>int</Progress>
          <TrophiesCount>
            <Earned>int</Earned>
            <Total>int</Total>
            <Platinum>int</Platinum>
            <Gold>int</Gold>
            <Silver>int</Silver>
            <Bronze>int</Bronze>
            <ExtensionData xsi:nil="true" />
          </TrophiesCount>
          <Trophies>
            <Trophy xsi:nil="true" />
            <Trophy xsi:nil="true" />
          </Trophies>
          <OrderPlayed>int</OrderPlayed>
          <Updated>boolean</Updated>
          <LastUpdated>dateTime</LastUpdated>
          <Released>dateTime</Released>
          <TotalPoints>int</TotalPoints>
          <TotalTrophies>int</TotalTrophies>
          <UserPoints>int</UserPoints>
          <Stars>double</Stars>
          <Reviews>int</Reviews>
          <Platform>string</Platform>
          <ExtensionData />
        </Game>
      </getGamesResult>
    </getGamesResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /ps3/api/psn.asmx/getGames?sPSNID=string HTTP/1.1
Host: www.psnapi.com.ar
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfGame xmlns="http://www.psnapi.com.ar/ps3/api">
  <Game>
    <Id>string</Id>
    <IdGameEurope>string</IdGameEurope>
    <Title>string</Title>
    <Image>string</Image>
    <Guide>string</Guide>
    <TitleOnGuide>string</TitleOnGuide>
    <Progress>int</Progress>
    <TrophiesCount>
      <Earned>int</Earned>
      <Total>int</Total>
      <Platinum>int</Platinum>
      <Gold>int</Gold>
      <Silver>int</Silver>
      <Bronze>int</Bronze>
      <ExtensionData />
    </TrophiesCount>
    <Trophies>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
    </Trophies>
    <OrderPlayed>int</OrderPlayed>
    <Updated>boolean</Updated>
    <LastUpdated>dateTime</LastUpdated>
    <Released>dateTime</Released>
    <TotalPoints>int</TotalPoints>
    <TotalTrophies>int</TotalTrophies>
    <UserPoints>int</UserPoints>
    <Stars>double</Stars>
    <Reviews>int</Reviews>
    <Platform>string</Platform>
    <ExtensionData />
  </Game>
  <Game>
    <Id>string</Id>
    <IdGameEurope>string</IdGameEurope>
    <Title>string</Title>
    <Image>string</Image>
    <Guide>string</Guide>
    <TitleOnGuide>string</TitleOnGuide>
    <Progress>int</Progress>
    <TrophiesCount>
      <Earned>int</Earned>
      <Total>int</Total>
      <Platinum>int</Platinum>
      <Gold>int</Gold>
      <Silver>int</Silver>
      <Bronze>int</Bronze>
      <ExtensionData />
    </TrophiesCount>
    <Trophies>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
    </Trophies>
    <OrderPlayed>int</OrderPlayed>
    <Updated>boolean</Updated>
    <LastUpdated>dateTime</LastUpdated>
    <Released>dateTime</Released>
    <TotalPoints>int</TotalPoints>
    <TotalTrophies>int</TotalTrophies>
    <UserPoints>int</UserPoints>
    <Stars>double</Stars>
    <Reviews>int</Reviews>
    <Platform>string</Platform>
    <ExtensionData />
  </Game>
</ArrayOfGame>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /ps3/api/psn.asmx/getGames HTTP/1.1
Host: www.psnapi.com.ar
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sPSNID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfGame xmlns="http://www.psnapi.com.ar/ps3/api">
  <Game>
    <Id>string</Id>
    <IdGameEurope>string</IdGameEurope>
    <Title>string</Title>
    <Image>string</Image>
    <Guide>string</Guide>
    <TitleOnGuide>string</TitleOnGuide>
    <Progress>int</Progress>
    <TrophiesCount>
      <Earned>int</Earned>
      <Total>int</Total>
      <Platinum>int</Platinum>
      <Gold>int</Gold>
      <Silver>int</Silver>
      <Bronze>int</Bronze>
      <ExtensionData />
    </TrophiesCount>
    <Trophies>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
    </Trophies>
    <OrderPlayed>int</OrderPlayed>
    <Updated>boolean</Updated>
    <LastUpdated>dateTime</LastUpdated>
    <Released>dateTime</Released>
    <TotalPoints>int</TotalPoints>
    <TotalTrophies>int</TotalTrophies>
    <UserPoints>int</UserPoints>
    <Stars>double</Stars>
    <Reviews>int</Reviews>
    <Platform>string</Platform>
    <ExtensionData />
  </Game>
  <Game>
    <Id>string</Id>
    <IdGameEurope>string</IdGameEurope>
    <Title>string</Title>
    <Image>string</Image>
    <Guide>string</Guide>
    <TitleOnGuide>string</TitleOnGuide>
    <Progress>int</Progress>
    <TrophiesCount>
      <Earned>int</Earned>
      <Total>int</Total>
      <Platinum>int</Platinum>
      <Gold>int</Gold>
      <Silver>int</Silver>
      <Bronze>int</Bronze>
      <ExtensionData />
    </TrophiesCount>
    <Trophies>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
      <Trophy>
        <IdTrophy>int</IdTrophy>
        <GameId>string</GameId>
        <Title>string</Title>
        <Image>string</Image>
        <Description>string</Description>
        <DateEarned>dateTime</DateEarned>
        <DisplayDate>string</DisplayDate>
        <TrophyType>string</TrophyType>
        <FullDescription>string</FullDescription>
        <Updated>boolean</Updated>
        <Hidden>boolean</Hidden>
        <GameTitle>string</GameTitle>
        <Guide>string</Guide>
        <TitleOnGuide>string</TitleOnGuide>
        <Platform>string</Platform>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Trophy>
    </Trophies>
    <OrderPlayed>int</OrderPlayed>
    <Updated>boolean</Updated>
    <LastUpdated>dateTime</LastUpdated>
    <Released>dateTime</Released>
    <TotalPoints>int</TotalPoints>
    <TotalTrophies>int</TotalTrophies>
    <UserPoints>int</UserPoints>
    <Stars>double</Stars>
    <Reviews>int</Reviews>
    <Platform>string</Platform>
    <ExtensionData />
  </Game>
</ArrayOfGame>