jhewt / gumer-psn

A Playstation Network API written in Node.js
MIT License
346 stars 71 forks source link

Some question about gumer-psn #10

Closed jimyong88 closed 9 years ago

jimyong88 commented 9 years ago

Gumer-psn is now running pretty good. However, for trophy data, I can not get infomation of trophyDetail and trophyName etc. How can i solve this problem.

jimyong88 commented 9 years ago

error: [37] => array(5) { ["trophyId"] => int(37) ["trophyHidden"] => bool(true) ["trophyRare"] => int(0) ["trophyEarnedRate"] => string(3) "3.9" ["comparedUser"] => array(3) { ["onlineId"] => string(16) "" ["earned"] => bool(true) ["earnedDate"] => string(20) "2014-08-29T21:06:49Z" } }

success: [38] => array(9) { ["trophyId"] => int(38) ["trophyHidden"] => bool(false) ["trophyType"] => string(6) "bronze" ["trophyName"] => string(24) "Vengeance for the Fallen" ["trophyDetail"] => string(36) "Complete Braverock with the Malakhim" ["trophyIconUrl"] => string(155) "http://trophy01.np.community.playstation.net/trophy/np/NPWR01888_00_003E69DEBD60164511586D65D5B08E9AFA78C9DF08/E480E9304F3AE1C38B9B5C8CB0FA6CD0417D4AB4.PNG" ["trophyRare"] => int(1) ["trophyEarnedRate"] => string(4) "10.5" ["comparedUser"] => array(3) { ["onlineId"] => string(16) "" ["earned"] => bool(true) ["earnedDate"] => string(20) "2014-08-27T19:39:33Z" } }

jhewt commented 9 years ago

The hidden trophies (["trophyHidden"] => bool(true)) doesn't contain any data whatsoever because they are "hidden", so it doesn't spoil any part of the game's storyline. For now, that's the only limit we have fetching the data with this method.

jimyong88 commented 9 years ago

Thank you for your help :)