


<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>DBO Forums - DestinyTracker is one use of the API, maybe there&#039;s more.</title>
<link>https://destiny.bungie.org/forum/</link>
<description>Bungie.Org talks Destiny</description>
<language>en</language>
<item>
<title>DestinyTracker is one use of the API, maybe there&#039;s more. (reply)</title>
<content:encoded><![CDATA[<p>Got an API key this morning (although, I read that as of right now, you don't NEED an API key with every request. Interesting, they plan on making this required in the future, though). And I actually think this might be possible. There are a few endpoints that give me hope.</p>
<p><a href="https://www.bungie.net/platform/destiny/help/">This page</a> is a list of the API's endpoints for /destiny (there's also a forum and user platform). As you can see, there are a number of endpoints for stats including ones that require an activityId. This is what I was looking for. Since you are able to get the aggregate stats for a player you can get a list of activities they have done. Hopefully, a method can be created to filter one player's list of activities against another player's to then start calculating information.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56816</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56816</guid>
<pubDate>Mon, 16 Feb 2015 16:24:43 +0000</pubDate>
<category>Destiny</category><dc:creator>BeardFade</dc:creator>
</item>
<item>
<title>+1 for exposure (reply)</title>
<content:encoded><![CDATA[<p>Eat your hearts out, mathletes.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56746</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56746</guid>
<pubDate>Sun, 15 Feb 2015 07:19:34 +0000</pubDate>
<category>Destiny</category><dc:creator>iconicbanana</dc:creator>
</item>
<item>
<title>Official API (reply)</title>
<content:encoded><![CDATA[<blockquote><p>Right, destinytracker is using Bungie's API to get info. We know what it's capable of there, I'm wondering if there is more. I have the day off Monday for President's day. I think I will get an API key and see what I can do, no promises to anyone.</p>
</blockquote><p>I was actually playing with the API a little bit earlier today. For those who don't know, but are interested in dabbling in the API, Bungie maintains an <a href="https://www.bungie.net/en/Clan/Forum/39966">official API group</a>. They've published the first official interface (<a href="https://www.bungie.net/en/Clan/Post/39966/85087279/0/0">https://www.bungie.net/en/Clan/Post/39966/85087279/0/0</a>) and it's definitely worth a look.</p>
<p>Documentation is pretty sparse, but the endpoint descriptions are invaluable:<br />
<a href="https://www.bungie.net/platform/user/help/">https://www.bungie.net/platform/user/help/</a><br />
<a href="https://www.bungie.net/platform/destiny/help/">https://www.bungie.net/platform/destiny/help/</a></p>
<p>Now that they've solidified an API, I'm thinking we'll integrate some API-linked behavior into the forum.</p>
<p><span style="font-size:smaller;"><em>*Edit: Just be careful with the <a href="http://www.bungie.net/Platform/Destiny/Vanguard/Grimoire/Definition/">Grimoire Card</a> one… that thing just locked-up a couple of my code editors while trying to &quot;prettify&quot; the JSON so that I could read it. The response is <strong>844KB</strong> of raw text. :D</em></span></p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56734</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56734</guid>
<pubDate>Sun, 15 Feb 2015 03:01:45 +0000</pubDate>
<category>Destiny</category><dc:creator>Beorn</dc:creator>
</item>
<item>
<title>DestinyTracker is one use of the API, maybe there&#039;s more. (reply)</title>
<content:encoded><![CDATA[<p>Right, destinytracker is using Bungie's API to get info. We know what it's capable of there, I'm wondering if there is more. I have the day off Monday for President's day. I think I will get an API key and see what I can do, no promises to anyone.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56732</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56732</guid>
<pubDate>Sun, 15 Feb 2015 01:58:19 +0000</pubDate>
<category>Destiny</category><dc:creator>BeardFade</dc:creator>
</item>
<item>
<title>Finding your ideal team, with mind-numbing tedium. (reply)</title>
<content:encoded><![CDATA[<blockquote><blockquote><p>I just included assists in the second part of the equation.</p>
<p>Also, I just saw an error I forgot to correct last night..  I needlessly tried to shift the first part of the win/loss stat to fall within a range that doesn't make sense for the rest of the equation. The Win/Loss category should read as follows:</p>
<p><em>=(1/2)[wins/totalgames]  +   (1/2)(1/π)arctan[wins-losses]<br />
</em></p>
<p>rendering the final forumula:</p>
<p>Score=   </p>
<p>1/3*((1/π)arctan[(player1kills-player1deaths)+(player2kills-player2deaths)]+0.5)      <br />
+      <br />
1/3*((1/π)arctan[player1kills+player1assists-player1deaths]+0.5)      <br />
+    <br />
1/3*( (1/2)[wins/totalgames]  +   (1/2)(1/π)arctan[wins-losses])</p>
</blockquote></blockquote><blockquote><p><br />
All of this info is easily collectable at destinytracker... except for games with friends. Not sure how to get that.</p>
</blockquote><p>Well, full lists of players in every game are available on destinytracker...but it sure as hell wouldn't be easy to collect the data.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56731</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56731</guid>
<pubDate>Sun, 15 Feb 2015 01:46:35 +0000</pubDate>
<category>Destiny</category><dc:creator>iconicbanana</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<blockquote><p>I just included assists in the second part of the equation.</p>
<p>Also, I just saw an error I forgot to correct last night..  I needlessly tried to shift the first part of the win/loss stat to fall within a range that doesn't make sense for the rest of the equation. The Win/Loss category should read as follows:</p>
<p><em>=(1/2)[wins/totalgames]  +   (1/2)(1/π)arctan[wins-losses]<br />
</em></p>
<p>rendering the final forumula:</p>
<p>Score=   </p>
<p>1/3*((1/π)arctan[(player1kills-player1deaths)+(player2kills-player2deaths)]+0.5)      <br />
+      <br />
1/3*((1/π)arctan[player1kills+player1assists-player1deaths]+0.5)      <br />
+    <br />
1/3*( (1/2)[wins/totalgames]  +   (1/2)(1/π)arctan[wins-losses])</p>
</blockquote><p>All of this info is easily collectable at destinytracker... except for games with friends. Not sure how to get that.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56727</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56727</guid>
<pubDate>Sat, 14 Feb 2015 23:21:31 +0000</pubDate>
<category>Destiny</category><dc:creator>Claude Errera</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<blockquote><p>Ooof. Good question. I hadn't even considered control zones. Hopefully that is accounted for in the win/loss category, but I don't know of a way to measure control zone efficiency. You could probably sort the ranking by gametype? </p>
</blockquote><p>Control points might be a difficult number to factor in. Think about it, if your team usually totals one or two captures per person did you win or lose? Maybe you grabbed C and B on blind watch and held them to the entire game. Or maybe your team grabbed A... and was completely shut out. A relatively high number of captures, when combined with a good enough k/d might indicate a situational aware team player though...</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56720</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56720</guid>
<pubDate>Sat, 14 Feb 2015 19:56:31 +0000</pubDate>
<category>Destiny</category><dc:creator>Ragashingo</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<blockquote><p>I get you. Part of me wonders if this would actually kill the joy of playing a bit. I love throwing math at things, so that is fun for me, but I would hate to think people would actually choose to not play with another person based on this number. My hope would be that this would just be an interesting factoid for people.</p>
</blockquote><p>As long as it was difficult to derive to the point where people weren't dumping out of matchmaking once they saw a 'bad' player was on their team, I don't see how this could hurt. (You could honestly do that now, if you felt like checking their destinytracker page). I wish we could take it a step further and try to determine proficiency specific to loadout (i.e. am I better with pistols or ARs?). That way, you could determine which loadouts were best with specific teammates, which might significantly improve your play.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56719</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56719</guid>
<pubDate>Sat, 14 Feb 2015 19:11:53 +0000</pubDate>
<category>Destiny</category><dc:creator>iconicbanana</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<p>I just included assists in the second part of the equation.</p>
<p>Also, I just saw an error I forgot to correct last night..  I needlessly tried to shift the first part of the win/loss stat to fall within a range that doesn't make sense for the rest of the equation. The Win/Loss category should read as follows:</p>
<p><em>=(1/2)[wins/totalgames]  +   (1/2)(1/π)arctan[wins-losses]<br />
</em></p>
<p>rendering the final forumula:</p>
<p>Score=   </p>
<p>1/3*((1/π)arctan[(player1kills-player1deaths)+(player2kills-player2deaths)]+0.5)      <br />
+      <br />
1/3*((1/π)arctan[player1kills+player1assists-player1deaths]+0.5)      <br />
+    <br />
1/3*( (1/2)[wins/totalgames]  +   (1/2)(1/π)arctan[wins-losses])</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56718</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56718</guid>
<pubDate>Sat, 14 Feb 2015 17:58:29 +0000</pubDate>
<category>Destiny</category><dc:creator>ckamp</dc:creator>
</item>
<item>
<title>But that would awful in low-kill scenarios (reply)</title>
<content:encoded><![CDATA[<p>Hmmmmmmmm</p>
<p>There's GOT to be a way to mix spreads and ratios together...</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56712</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56712</guid>
<pubDate>Sat, 14 Feb 2015 16:52:24 +0000</pubDate>
<category>Destiny</category><dc:creator>ZackDark</dc:creator>
</item>
<item>
<title>I&#039;m definitely interested (reply)</title>
<content:encoded><![CDATA[<blockquote><p>As I posted to Beardfade, I try to stay away from variable ratios if possible because of divisions by zero and the intelligibility of the data</p>
</blockquote><p>IF (death==0): compatibility = 1</p>
<p>That way, the only stat that would influence is whether or not the team won. Which makes sense, imho.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56711</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56711</guid>
<pubDate>Sat, 14 Feb 2015 16:49:29 +0000</pubDate>
<category>Destiny</category><dc:creator>ZackDark</dc:creator>
</item>
<item>
<title>Math should be exercised responsibly kids! (reply)</title>
<content:encoded><![CDATA[<blockquote><p>I would love to apply this to some stats, but I'm woefully under-experienced with web APIs.  I'm interested to look into it though, maybe there is an interface to it that I would find more appealing.</p>
</blockquote><p>Yeah, I have very minimal experience with APIs. The only thing I've done is modify existing tools to extract data I want. I'm curious to learn though....</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56702</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56702</guid>
<pubDate>Sat, 14 Feb 2015 09:28:35 +0000</pubDate>
<category>Destiny</category><dc:creator>ckamp</dc:creator>
</item>
<item>
<title>I&#039;m definitely interested (reply)</title>
<content:encoded><![CDATA[<blockquote><p>My 3am brain is of little help though, I'm afraid. </p>
</blockquote><p>I appreciate any and all feedback!</p>
<blockquote><p>I would say assists are definitely important enough to be included in the &quot;personal score&quot; section - is a straight-up K+A/D not viable? Or something similar but for spread, rather than ratio?</p>
</blockquote><p>There certainly isn't any harm in including assists in the spread (K+A)-D, other than that it potentially inflates this category's influence. As I posted to Beardfade, I try to stay away from variable ratios if possible because of divisions by zero and the intelligibility of the data, but perhaps I could work with that too.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56701</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56701</guid>
<pubDate>Sat, 14 Feb 2015 09:22:57 +0000</pubDate>
<category>Destiny</category><dc:creator>ckamp</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<p>There's a slight distinction between what I know for certain the Bungie API can do and what I'm hoping it can do. I know that it can pull in info for an individual as a cumulation of all matches played, e.g. Player A has 2,603 kills in Clash mode with Suros Regime. We can keep very specific cumulative stats. What I need to know is if a match is stored as a data object, and if the match has some relationship to the people partaking in it. Without the match, there is no connecting point between the data objects which represent the individuals. Thus, if Bungie stores Match objects (or whatever they call them) and matches have guardian objects, I can find which matches have all guardians queried in their data model. This will give us the data necessary to measure Guardian synergy.</p>
<p>That being said, and I say this in response to your last paragraph iconicbanana, I think there are many intangibles that would be difficult to measure, such as &quot;role&quot;. Playing a support role, such as laying cover fire, would not be measureable (as far as I know). So, while counterproductive would not be the word I would use, I can understand where your coming from.</p>
<p>At the end of the day, I would work on this for the fun of it. I would still play with you, even if the stats said we were bad for each other. You can't measure camaraderie. :)</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56700</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56700</guid>
<pubDate>Sat, 14 Feb 2015 09:06:55 +0000</pubDate>
<category>Destiny</category><dc:creator>BeardFade</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<blockquote><p>Both bungie.net and destinytracker pull individual game data, so you could source from there. Although I personally find this data spurious, since <strong>it doesn't factor playing with ransoms versus playing with voice-enabled teammates, which matters</strong>.</p>
</blockquote><p>Good point. In my mind, this would be more of a player-initiated comparison where you choose who you are comparing yourself to. That will help self-select players as well.</p>
<blockquote><p><br />
And I'll be honest, I find this line of reasoning counterproductive. My mindset is to always excel in the role which my team requires; adapting to new challenges or teammates is part of what makes me a better player.</p>
</blockquote><p>I get you. Part of me wonders if this would actually kill the joy of playing a bit. I love throwing math at things, so that is fun for me, but I would hate to think people would actually choose to not play with another person based on this number. My hope would be that this would just be an interesting factoid for people.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56699</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56699</guid>
<pubDate>Sat, 14 Feb 2015 09:05:18 +0000</pubDate>
<category>Destiny</category><dc:creator>ckamp</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<blockquote><p>Setting aside the fact that I'm not certain this is possible*, I am curious why we're using a K/D spread and not a K/D ratio? For example, 5 kills and 4 deaths is the same spread as 20 kills and 19 deaths, but the ratios aren't the same.</p>
</blockquote><p>Games are won by spread, not ratios. Well, that is kind of true, but the data is a bit easier to read, work with, and normalize with a spread. You add up all the spreads and you get the amount your team won by. You add up all the ratios and average them and you get ????  I see why you would like to use a ratio, but it can muck things up because then you have to account for divisions by zero, mapping the #'s onto something that is intelligible, etc. For instance (I'm thinking of 3 kills and 2 deaths or vice versa), most people don't know readily that .67 is the inverse score of 1.5, but they can tell that that +1 and -1 are related. </p>
<p>I'm fine with other solutions, but I'm curious as to what formula you would use to bring k/d into relationship with the other parts of the equation.</p>
<blockquote><p>Also, there is something to be said about simply the quantitative value of kills and deaths when playing with another person. For example, my average Kills per Match might be 11 when I play with randoms, but 18 when I play with you (ckamp) or 7 when I play with iconicbanana. As you (ckamp) pointed out the other night, a good crucible player will actually absorb more of the available kills and thus my quantity of kills be lower. So, we also need to make an algorithm that gives some weight to the quantity of kills and deaths that cannot be measured solely with a spread or ratio.</p>
</blockquote><p>Hopefully this is where the aggregate kills and deaths of the two of you will balance that out a bit. The win/loss category will also help account against this phenomena. I'd also like to add assists into the personal part of the equation which will offset kill-absorbing a bit.</p>
<blockquote><p><br />
I think this also requires some adjustments made for match type. For example, captures lead to increased points per kill. Average captures per match could be useful, though of more use would be how many zones and duration of holding did you get? Not sure how these would way in, but 2 people could be great control partners, but horrible clash partners.</p>
</blockquote><p>
Ooof.  Good question. I hadn't even considered control zones. Hopefully that is accounted for in the win/loss category, but I don't know of a way to measure control zone efficiency. You could probably sort the ranking by gametype?  <br />
 </p>
<blockquote><p>Lastly, what considerations would we need to make in order to make this work for relationships greater than 2? How would we do this between 3-6 players? </p>
</blockquote><p>
I hadn't really thought of that yet, as I was focused on single-person comparisons, but I suppose that in part 1 of the equation you could simply do a combined k-d spread for the team.  Each player would have their own score because of the individual component.</p>
<blockquote><p>*What I need to find out (and I simply haven't looked yet) is if there is a way to pull in info for individual matches. If Bungie keeps stats of matches, great! I was thinking perhaps the best way to do this query would be to pull in an object of player 1's games and then search through that object for games that Player 2 participated in. Seems like a simple way to reduce the amount of data the query needs to process. Might be more challenging as we add Players 3-6. Once we're able to get which games are played together, we then need to evaluate performance separately and apply maths to quantify the relationship.</p>
</blockquote><p>Sounds solid, but I'm horribly inexeperienced with APIs and the way the Destiny databases are configured.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56698</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56698</guid>
<pubDate>Sat, 14 Feb 2015 08:56:15 +0000</pubDate>
<category>Destiny</category><dc:creator>ckamp</dc:creator>
</item>
<item>
<title>Goddamnit, Chaos. (reply)</title>
<content:encoded><![CDATA[<p><img src="http://replygif.net/i/101.gif" alt="[image]" /></p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56697</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56697</guid>
<pubDate>Sat, 14 Feb 2015 08:01:32 +0000</pubDate>
<category>Destiny</category><dc:creator>ChaosSociety</dc:creator>
</item>
<item>
<title>Goddamnit, Chaos. (reply)</title>
<content:encoded><![CDATA[<p>You're supposed to be a f#+}% professor. This is goin to look terrible for our department review with ACICS.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56696</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56696</guid>
<pubDate>Sat, 14 Feb 2015 07:58:55 +0000</pubDate>
<category>Destiny</category><dc:creator>iconicbanana</dc:creator>
</item>
<item>
<title>Uh... (reply)</title>
<content:encoded><![CDATA[<p><a href="https://www.youtube.com/watch?v=Ccoj5lhLmSQ&amp;feature=youtu.be">Of course. Duh.</a></p>
<p><img src="http://31.media.tumblr.com/9a8e84febbc306de28a3a1dea2f516a5/tumblr_mmup15A5BJ1r9asvpo1_250.gif" alt="[image]" /></p>
<p><img src="http://stream1.gifsoup.com/view3/1243023/patrick-s-head-sparks-o.gif" alt="[image]" /></p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56694</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56694</guid>
<pubDate>Sat, 14 Feb 2015 07:56:26 +0000</pubDate>
<category>Destiny</category><dc:creator>ChaosSociety</dc:creator>
</item>
<item>
<title>Finding your ideal team, with math? (reply)</title>
<content:encoded><![CDATA[<blockquote><p>Setting aside the fact that I'm not certain this is possible*, I am curious why we're using a K/D spread and not a K/D ratio? For example, 5 kills and 4 deaths is the same spread as 20 kills and 19 deaths, but the ratios aren't the same.</p>
<p>Also, there is something to be said about simply the quantitative value of kills and deaths when playing with another person. For example, my average Kills per Match might be 11 when I play with randoms, but 18 when I play with you (ckamp) or 7 when I play with iconicbanana. As you (ckamp) pointed out the other night, a good crucible player will actually absorb more of the available kills and thus my quantity of kills be lower. So, we also need to make an algorithm that gives some weight to the quantity of kills and deaths that cannot be measured solely with a spread or ratio.</p>
<p>I think this also requires some adjustments made for match type. For example, captures lead to increased points per kill. Average captures per match could be useful, though of more use would be how many zones and duration of holding did you get? Not sure how these would way in, but 2 people could be great control partners, but horrible clash partners.</p>
<p>Lastly, what considerations would we need to make in order to make this work for relationships greater than 2? How would we do this between 3-6 players? </p>
<p>*What I need to find out (and I simply haven't looked yet) is if there is a way to pull in info for individual matches. If Bungie keeps stats of matches, great! I was thinking perhaps the best way to do this query would be to pull in an object of player 1's games and then search through that object for games that Player 2 participated in. Seems like a simple way to reduce the amount of data the query needs to process. Might be more challenging as we add Players 3-6. Once we're able to get which games are played together, we then need to evaluate performance separately and apply maths to quantify the relationship.</p>
</blockquote><p>Both bungie.net and destinytracker pull individual game data, so you could source from there. Although I personally find this data spurious, since it doesn't factor playing with ransoms versus playing with voice-enabled teammates, which matters.</p>
<p>And I'll be honest, I find this line of reasoning counterproductive. My mindset is to always excel in the role which my team requires; adapting to new challenges or teammates is part of what makes me a better player.</p>
]]></content:encoded>
<link>https://destiny.bungie.org/forum/index.php?id=56693</link>
<guid>https://destiny.bungie.org/forum/index.php?id=56693</guid>
<pubDate>Sat, 14 Feb 2015 07:54:03 +0000</pubDate>
<category>Destiny</category><dc:creator>iconicbanana</dc:creator>
</item>
</channel>
</rss>
