Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apex Legends kill/damage stats pull same for character #15

Open
cjs007 opened this issue Nov 23, 2019 · 1 comment
Open

Apex Legends kill/damage stats pull same for character #15

cjs007 opened this issue Nov 23, 2019 · 1 comment

Comments

@cjs007
Copy link

cjs007 commented Nov 23, 2019

When pulling the Apex Legends API for a player, the json returned lists each (or most recently used?) character and stats associated with it. However the damage and kills are the total for the account and not specific to that character - so the values returned in each section are the same. This is just a bit confusing since the value is repeating itself in each section when it feels like it should be unique to that character. Example returned below. You'll see that both damage and kill is the same under Lifeline and Mirage.

   "segments": [
            {
                "type": "overview",
                "attributes": {},
                "metadata": {
                    "name": "Lifetime"
                },
                "expiryDate": "2019-11-23T16:18:02.8969618Z",
                "stats": {
                    "level": {
                        "rank": null,
                        "percentile": 42.0,
                        "displayName": "Level",
                        "displayCategory": "Combat",
                        "category": null,
                        "metadata": {},
                        "value": 32.0,
                        "displayValue": "32",
                        "displayType": "Unspecified"
                    },
                    "kills": {
                        "rank": null,
                        "percentile": 44.0,
                        "displayName": "Kills",
                        "displayCategory": "Combat",
                        "category": null,
                        "metadata": {},
                        "value": 48.0,
                        "displayValue": "48",
                        "displayType": "Unspecified"
                    },
                    "damage": {
                        "rank": null,
                        "percentile": 76.0,
                        "displayName": "Damage",
                        "displayCategory": "Combat",
                        "category": null,
                        "metadata": {},
                        "value": 24693.0,
                        "displayValue": "24,693",
                        "displayType": "Unspecified"
                    },
                    "rankScore": {
                        "rank": null,
                        "percentile": 89.0,
                        "displayName": "Rank Score",
                        "displayCategory": "Game",
                        "category": null,
                        "metadata": {
                            "iconUrl": "https://trackercdn.com/cdn/apex.tracker.gg/ranks/diamond4.png"
                        },
                        "value": 760.0,
                        "displayValue": "760",
                        "displayType": "Unspecified"
                    }
                }
            },
            {
                "type": "legend",
                "attributes": {
                    "id": "legend_4"
                },
                "metadata": {
                    "name": "Mirage",
                    "imageUrl": "https://trackercdn.com/cdn/apex.tracker.gg/legends/mirage-tile.png",
                    "tallImageUrl": "https://trackercdn.com/cdn/apex.tracker.gg/legends/mirage-tall.png",
                    "bgImageUrl": "https://trackercdn.com/cdn/apex.tracker.gg/legends/mirage-concept-bg-small.jpg",
                    "isActive": true
                },
                "expiryDate": "2019-11-23T16:18:02.8969618Z",
                "stats": {
                    "kills": {
                        "rank": null,
                        "percentile": 47.0,
                        "displayName": "Kills",
                        "displayCategory": "Combat",
                        "category": null,
                        "metadata": {},
                        "value": 48.0,
                        "displayValue": "48",
                        "displayType": "Unspecified"
                    },
                    "damage": {
                        "rank": null,
                        "percentile": 84.0,
                        "displayName": "Damage",
                        "displayCategory": "Combat",
                        "category": null,
                        "metadata": {},
                        "value": 24693.0,
                        "displayValue": "24,693",
                        "displayType": "Unspecified"
                    },
                    "bamboozles": {
                        "rank": null,
                        "percentile": 90.0,
                        "displayName": "Bamboozles",
                        "displayCategory": "Game",
                        "category": null,
                        "metadata": {},
                        "value": 69.0,
                        "displayValue": "69",
                        "displayType": "Unspecified"
                    }
                }
            }
        ],
@aMytho
Copy link

aMytho commented Mar 17, 2020

Nope, they are different. The stats in the data are mirage and lifeTIME not lifeLINE. I made the same mistake earlier too and couldn't figure it out for a while lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants