PS2:V2 : Score - PlanetSide Universe
PSU Social Facebook Twitter Twitter YouTube Steam TwitchTV
PlanetSide Universe
PSU: lights are on, but there is nobody home!
Home Forum Chat Wiki Social AGN PS2 Stats
Notices
Go Back   PlanetSide Universe > PlanetSide Discussions > PlanetSide 2 API Discussion

 
 
Thread Tools Search this Thread Display Modes
Old 2013-08-30, 12:52 PM   [Ignore Me] #1
Stanis
Master Sergeant
 
PS2:V2 : Score


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 ?
Stanis is offline  
Old 2013-09-05, 08:13 AM   [Ignore Me] #2
bellend
Private
 
Re: PS2:V2 : Score


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!
bellend is offline  
Old 2013-09-09, 10:58 AM   [Ignore Me] #3
Stanis
Master Sergeant
 
Re: PS2:V2 : Score


@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.
Stanis is offline  
Old 2015-11-06, 12:18 AM   [Ignore Me] #4
Nezametno
Private
 
Re: PS2:V2 : Score


123615
Nezametno is offline  
 
  PlanetSide Universe > PlanetSide Discussions > PlanetSide 2 API Discussion

Bookmarks

Discord


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:47 PM.

Content © 2002-2013, PlanetSide-Universe.com, All rights reserved.
PlanetSide and the SOE logo are registered trademarks of Sony Online Entertainment Inc. © 2004 Sony Online Entertainment Inc. All rights reserved.
All other trademarks or tradenames are properties of their respective owners.
Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.