Forums | Chat | News | Contact Us | Register | PSU Social |
PSU: It goes up to 11.
Forums | Chat | News | Contact Us | Register | PSU Social |
Home | Forum | Chat | Wiki | Social | AGN | PS2 Stats |
|
|
|
Thread Tools | Search this Thread | Display Modes |
2013-08-30, 12:52 PM | [Ignore Me] #1 | ||
Master Sergeant
|
Have they buried 'score' within stat or stat_history ?
Seems a bit daft. I can still get battle_rank.value fairly easily .. but I'd really like to pull the entire outfit_members collection and get a simple total score without having to iterate each as an individual member. Anyone managed to solve this ? |
||
|
2013-09-05, 08:13 AM | [Ignore Me] #2 | ||
Private
|
get/ps2:v2/outfit?alias=VC&c:resolve=member_characters_stat_h istory(stat_name,all_time)
is the best I can come up with. Resolve gets you out of multiple api calls but it limits what you can do with the result. eg, you can't (afaik) use tree to make score the name of an array. Notice the array index containing score is different for each character! Last edited by bellend; 2013-09-05 at 08:17 AM. Reason: there is a space between h and istory I can't get rid of! |
||
|
2013-09-09, 10:58 AM | [Ignore Me] #3 | ||
Master Sergeant
|
@Bellend : thank you.
I've ended up doing something similar then iterating over both Stat and Stat_History. Had to be both stat and stat_history because stat_history doesn't seem to have assists and stat .. was missing something else. |
||
|
|
Bookmarks |
|
|