MATCH-V5

View Riot's documentation.

by-puuid

Querying MATCH-V5 using puuid accepts a large number of optional arguments. This method allows for all optional arguments, however, the string argument type must be passed first. Currently, type must be used if other optional fields are being used (I will overload to solve this soon).

// function call
std::unique_ptr<std::vector<char>> response = client_obj.Match.by_puuid("<routing>", "<puuid>", {"optional_key", <optional_arg>}, ...);
// declaration
std::unique_ptr<std::vector<char>> by_puuid(std::string, std::string, std::pair<std::string, Arg_Type>, ...);

by-match-id

// function call
std::unique_ptr<std::vector<char>> response = client_obj.Match.by_match_id("<routing>", "<match-id>");
// declaration
std::unique_ptr<std::vector<char>> by_match_id(std::string, std::string);

timeline

// function call
std::unique_ptr<std::vector<char>> response = client_obj.Match.timeline("<routing>", "<match-id>");
// declaration
std::unique_ptr<std::vector<char>> timeline(std::string, std::string);