Henrik-3 / unofficial-valorant-api

Unofficial VALORANT API using the VALORANT Ingame API
424 stars 18 forks source link

ability_casts inround values are set to null #73

Closed Root-DE closed 4 months ago

Root-DE commented 4 months ago

The ability_casts dictonary in the rounds list is always filled with null values when using the endpoint /valorant/v3/by-puuid/matches/{affinity}/{puuid}. But in the list ["players"]["all_players"] the overall number of ability_castsis stated.

  "rounds": [
        {
            "winning_team": "Blue",
            "end_type": "Round timer expired",
            "bomb_planted": false,
            "bomb_defused": false,
            "plant_events": {
                "plant_location": null,
                "planted_by": null,
                "plant_site": null,
                "plant_time_in_round": null,
                "player_locations_on_plant": null
            },
            "defuse_events": {
                "defuse_location": null,
                "defused_by": null,
                "defuse_time_in_round": null,
                "player_locations_on_defuse": null
            },
            "player_stats": [
                {
                    "ability_casts": { # <-- The entries are set to null
                        "c_casts": null,
                        "q_casts": null,
                        "e_cast": null,
                        "x_cast": null
                    },
raimannma commented 4 months ago

That's riots issue nothing we can do about.

Root-DE commented 4 months ago

Thank you for clarification. Do you know by any chance another way to get the ability_casts - maybe even where an ability was casted?

raimannma commented 4 months ago

There is no way to get that

Root-DE commented 4 months ago

Thank you