Skip to content

Instantly share code, notes, and snippets.

@Uzendayo
Last active January 1, 2017 05:16
Show Gist options
  • Save Uzendayo/26462c8c5090a62bf6d7638a9c46c589 to your computer and use it in GitHub Desktop.
Save Uzendayo/26462c8c5090a62bf6d7638a9c46c589 to your computer and use it in GitHub Desktop.
Vainglory API. These are the contents we will be able to get from it.
{
    "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"
    ]
} {
    "UUID": "ed3d51dd-a88c-4697-80f3-361fc514d844",
    "PatchVersion": "1.0.2alpha",
    "GameMode": "casual",
    "Timestamp": 1476088221,
    "Duration": 1706,
    "Stats": {
        "endGameReason": "victory",
        "losingTeam": 0,
        "difficulty": "very_hard",
        "freeunlocks": [
            "Fortress",
            "Celeste",
            "Catherine",
            "Blackfeather",
            "Vox",
            "Petal"
        ],
        "gameMode": 9,
        "queue": "casual"
    },
    "Teams": [{
        "Players": [{
            "Actor": "Glaive",
            "Name": "Scribejewel",
            "Stats": {
                "banReason": 0,
                "elo": 1282,
                "elo_aral": 1217,
                "elo_ranked": 1268,
                "firstAfkTime": -1,
                "guildTag": "",
                "items": [
                    "Tornado Trigger",
                    "Weapon3",
                    "Tornado Trigger",
                    "Critical",
                    "Armor3",
                    "Boots2"
                ],
                "karma": 15.375,
                "karmaLevel": 1,
                "l10wins": [
                    "1",
                    "1",
                    "1",
                    "0",
                    "1",
                    "0",
                    "1",
                    "0",
                    "0",
                    "0"
                ],
                "lossStreak": 0,
                "assists": 5,
                "crystalMineCaptures": 3,
                "deaths": 10,
                "farm": 2266,
                "goldMineCaptures": 0,
                "itemGrants": {
                    "1000_Item_HalcyonPotion": 13,
                    "1004_Item_SwiftShooter": 1,
                    "1005_Item_SixSins": 2,
                    "1010_Item_BlazingSalvo": 2,
                    "1012_Item_Sorrowblade": 1,
                    "1014_Item_TornadoTrigger": 2,
                    "1022_Item_CoatOfPlates": 1,
                    "1024_Item_MetalJacket": 1,
                    "1030_Item_SprintBoots": 1,
                    "1032_Item_TravelBoots": 1,
                    "1049_Item_TyrantsMonocle": 1,
                    "1065_Item_HeavySteel": 1,
                    "1068_Item_LuckyStrike": 3,
                    "1080_Item_MinionsFoot": 2
                },
                "itemSells": {
                    "1000_Item_HalcyonPotion": 1
                },
                "itemUses": {
                    "1000_Item_HalcyonPotion": 12,
                    "1032_Item_TravelBoots": 1
                },
                "jungleKills": 16,
                "kills": 5,
                "krakenCaptures": 0,
                "level": 12,
                "minionKills": 48,
                "nonJungleMinionKills": 32,
                "turretCaptures": 1,
                "skillTier": -1,
                "skinKey": "Glaive_DefaultSkin",
                "wentAfk": false,
                "winStreak": 3,
                "winner": false,
                "wins": 51

            },
            "UUID": "54a0a1fa-2f64-418a-94cf-85fbe55ea758"
        }],
        "Name": "",
        "UUID": "",
        "Won": false,
        "Stats": {
            "AcesEarned": 2,
            "Gold": 49588,
            "HeroKills": 16,
            "KrakenCaptures": 0,
            "TurretKills": 1,
            "TurretsRemaining": 0
        }
    }]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment