Improvement Ideas:

Topics: Ideas
Sep 10, 2010 at 5:31 PM

Hope that this will help:

Imrovment 1: Retrieve the full PSN user-name error (If they have any punctuation there name gets cut short to that punctuation for example mine is Super--Brad, but your API only shows Super).

Improvemnt 2: Retrieve different size avatars - Small, medium, Large.

Improvement 3: Split up the Profile to GetProfile and GetPlayedGames because when I parse the xml it also parses the trophies into the same string as they are named the same.

Great work so far.

:) Brad

Sep 12, 2010 at 6:29 PM

For the second one I found an easy fix.

So far the API is retrieving the small avatar.  If you look at the avatar URL you'll notice a _s, which points to the small avatar.  If you change that _s to _m, you'll get the medium sized avatar.  If you remove the _s completely, you'll get the large sized avatar.

So far it worked with several PSN IDs I've tested.

 

Could you give more info about the third one? I don't completely understand it.

Sep 12, 2010 at 7:01 PM

When doing an XML parse it is retrieving all strings in the xml named Platinum, Gold, Silver and Bronze making the overall value the last values in the PlayedGame list as they have the same ID, to solve this and clean up the profile move the PlayedGames to its own section, I.E so that the API has a GetProfile and a GetPlayedGames sections.