diff --git a/README.md b/README.md
index 5c1629c..d1c3435 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ rt.block_on(async {
// Get summoner data.
let summoner = riot_api.summoner_v4()
- .get_by_summoner_name(Region::NA, "잘못").await
+ .get_by_summoner_name(Region::NA, "잘 못").await
.expect("Get summoner failed.")
.expect("There is no summoner with that name.");
diff --git a/src/consts/queue_type.rs b/src/consts/queue_type.rs
index 2fe4e1f..5a02d6c 100644
--- a/src/consts/queue_type.rs
+++ b/src/consts/queue_type.rs
@@ -13,8 +13,9 @@ pub enum QueueType {
// League of Legends, Twisted Treeline (3v3), Flex Queue.
RANKED_FLEX_TT,
// Ranked Teamfight Tactics.
- #[deprecated(note = "Teamfight Tactics ranks should be acquired using `TftLeagueV1::get_league_entries`.")]
RANKED_TFT,
+ // Ranked Teamfight Tactics, Turbo gamemode.
+ RANKED_TFT_TURBO,
}
serde_string!(QueueType);
diff --git a/src/endpoints.rs b/src/endpoints.rs
index e2b94dc..0807853 100644
--- a/src/endpoints.rs
+++ b/src/endpoints.rs
@@ -7,7 +7,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 7bea623175b27bdc53a046c4e0d09b0f0d638aa7
+// Version d958cb912f35a3eb9091337de469633e228a7aa2
//! Automatically generated endpoint handles.
@@ -131,6 +131,15 @@ impl RiotApi {
pub fn match_v4(&self) -> MatchV4 {
MatchV4 { base: self }
}
+ /// Returns a handle for accessing [MatchV5](crate::endpoints::MatchV5) endpoints.
+ /// # Riot Developer API Reference
+ /// `match-v5`
+ ///
+ /// Note: this method is automatically generated.
+ #[inline]
+ pub fn match_v5(&self) -> MatchV5 {
+ MatchV5 { base: self }
+ }
/// Returns a handle for accessing [SpectatorV4](crate::endpoints::SpectatorV4) endpoints.
/// # Riot Developer API Reference
/// `spectator-v4`
@@ -284,8 +293,8 @@ impl<'a> AccountV1<'a> {
/// Get active shard for a player
/// # Parameters
/// * `region` - Region to query.
- /// * `puuid`
/// * `game`
+ /// * `puuid`
/// # Riot Developer API Reference
/// `account-v1.getActiveShard`
///
@@ -483,7 +492,7 @@ impl<'a> LeagueExpV4<'a> {
/// * `queue` - Note that the queue value must be a valid ranked queue.
/// * `tier`
/// * `division`
- /// * `page` (optional) - Starts with page 1.
+ /// * `page` (optional) - Defaults to 1. Starts with page 1.
/// # Riot Developer API Reference
/// `league-exp-v4.getLeagueEntries`
///
@@ -545,7 +554,7 @@ impl<'a> LeagueV4<'a> {
/// * `division`
/// * `tier`
/// * `queue` - Note that the queue value must be a valid ranked queue.
- /// * `page` (optional) - Starts with page 1.
+ /// * `page` (optional) - Defaults to 1. Starts with page 1.
/// # Riot Developer API Reference
/// `league-v4.getLeagueEntries`
///
@@ -861,6 +870,68 @@ impl<'a> MatchV4<'a> {
}
+/// MatchV5 endpoints handle, accessed by calling [`match_v5()`](crate::RiotApi::match_v5) on a [`RiotApi`](crate::RiotApi) instance.
+/// # Riot Developer API Reference
+/// `match-v5`
+///
+/// Note: this struct is automatically generated.
+pub struct MatchV5<'a> {
+ base: &'a RiotApi,
+}
+impl<'a> MatchV5<'a> {
+ /// Get a list of match ids by puuid
+ /// # Parameters
+ /// * `region` - Region to query.
+ /// * `puuid`
+ /// * `start` (optional) - Defaults to 0. Start index.
+ /// * `count` (optional) - Defaults to 20. Valid values: 0 to 100. Match id count.
+ /// # Riot Developer API Reference
+ /// `match-v5.getMatchIdsByPUUID`
+ ///
+ /// Note: this method is automatically generated.
+ pub fn get_match_ids_by_puuid(&self, region: Region, puuid: &str, count: Option, start: Option)
+ -> impl Future