Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Cant get the name of a champion #158

Description

@motion-cloud

Im trying to get the name of the Champion, which a summoner played in his last game, but its not working.

public Champion getChampion(Platform server, String name) throws RiotApiException { Champion champion = LoLMain.getInstance().getApi().getDataChampion(server, getChampionID(server, name)); return champion; }

public String getChampionName(Platform server, String name) throws RiotApiException {
    return getChampion(server, name).getName();
}

Do I have to change the endpoint ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions