Skip to content

Instantly share code, notes, and snippets.

@kas240sx89
Last active April 7, 2023 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kas240sx89/765c428e52b0756a827bb4c5579725ae to your computer and use it in GitHub Desktop.
Save kas240sx89/765c428e52b0756a827bb4c5579725ae to your computer and use it in GitHub Desktop.
{
"Name": "Scribejewel",
"UUID": "54a0a1fa-2f64-418a-94cf-85fbe55ea758",
"level": 12,
"elo": 1282,
"elo_aral": 1217,
"elo_earned_season_4": 0,
"elo_earned_season_5": 0,
"elo_ranked": 1268,
"completed": 87,
"completed_ranked": 0,
"karma": 15.375,
"karmaLevel": 1,
"unlocks": [
"*Hero010*",
"*Lance*",
"*Sayoc*",
"Skaarf_Skin_Infinity_T1",
"Ringo_Skin_Shogun_T1",
"*Glaive*",
"*Joule*",
"*Ringo*"
],
"winStreak": 3,
"wins": 51,
"seasonMaxSkillTier": -1,
"last_login": "10/10/16 07:26:57",
"lossStreak": 0,
"l10wins": [
"1",
"1",
"1",
"0",
"1",
"0",
"1",
"0",
"0",
"0"
]
}
@svperfecta
Copy link

l10wins - This is status of last 10 wins. We're trying to decide whether to:

  • Keep as is
  • Include IDs (which you can really just get from Match.SearchPlayers, with the limit option (once we get paging going).
  • Compress to last10winloseratio - but then you lose the ability to calculate streaks. (though stream is also provided)

@dominicgunn
Copy link

Is unlocks: an appropriate field to publicly disclose? it allows third parties to put values (or lack of value) on an account, and could be used maliciously (with high value accounts), or to discredit certain users ('you can only join our guild if you have 10 skins!').

@svperfecta
Copy link

We forgot "xp": 13186

@dominicgunn
Copy link

Is there an explicit reason for not exposing team and guild information? We'll eventually be able to search for guilds and teams through the guilds/searchname and teams/searchteam, which I assume will give us member information.

If that's the case, and we'll be able to crawl and find users in guilds/teams anyway, does it make sense to limit the exposure and confuse users who use third party sites ('why can I see Alice's guild, but not mine?')

If we're not going to be able to see team/guild membership, is the plan to just show us total member count or something?

@dominicgunn
Copy link

In what order is l10wins? Is l10wins[0] your most recent game?

@dominicgunn
Copy link

A few guys wanted the karma information, but what do the numbers here actually mean? e.x. What does 15.375 represent?

"karma": 15.375,
	"karmaLevel": 1,

@seripap
Copy link

seripap commented Dec 6, 2016

@GenExp l10wins would be great to have included ids. how about a rename to previousMatches?

@dominicgunn
Copy link

Is region data accessible? e.x. If I was to search player dominic, could I find out what region he was in? It'd be cool to aggregate data by region.

@CWentz
Copy link

CWentz commented Dec 7, 2016

	"elo_earned_season_4": 0,
	"elo_earned_season_5": 0,

How will you handle future seasons? Would it be best to just provide an array of all seasons?

@turindev
Copy link

turindev commented Dec 7, 2016

im assuming 'losses=matches-wins' but can this also be given by match type? (Ranked/casual/BR). We could always aggregate that same data from matches themselves, but it is a thought :)

@BrianGLHF
Copy link

Hi gang! Is account creation date something that will be accessible? Might be interesting to use in stats, plus a lot of people would love to be able to show it off on some kind of profile.. or even just be able to know when their account was created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment