CHAMPION-MASTERY-V4

View Riot's documentation CHAMPION-MASTERY-V4.

by-summoner-id

// functional call
std::unique_ptr<std::vector<char>> response = client_obj.Champion_Mastery.by_summoner_id("<routing>", "<summoner-id>");
// declaration
std::unique_ptr<std::vector<char>> by_summoner_id(std::string, std::string);

by-summoner-by-champion

// functional call
std::unique_ptr<std::vector<char>> response = client_obj.Champion_Mastery.by_summoner_by_champion("<routing>", "<summoner-id>", <champion-id>);
// declaration
std::unique_ptr<std::vector<char>> by_summoner_by_champion(std::string, std::string, int);

by-summoner-top

// functional call
std::unique_ptr<std::vector<char>> response = client_obj.Champion_Mastery.by_summoner_top("<routing>", "<summoner-id>", {"count", <count>});
// declaration
std::unique_ptr<std::vector<char>> by_summoner_top(std::string, std::string, std::pair<std::string>, int);

scores-by-summoner

// functional call
std::unique_ptr<std::vector<char>> response = client_obj.Champion_Mastery.scores_by_summoner("<routing>", "<summoner-id>")
// declaration
std::unique_ptr<std::vector<char>> scores_by_summoner(std::string, std::string);

```