diff --git a/riven/src/consts/champion.rs b/riven/src/consts/champion.rs
index 7c8fc22..94ef4ff 100644
--- a/riven/src/consts/champion.rs
+++ b/riven/src/consts/champion.rs
@@ -22,6 +22,7 @@ newtype_enum! {
/// `AKALI` | "Akali" | "Akali" | 84
/// `AKSHAN` | "Akshan" | "Akshan" | 166
/// `ALISTAR` | "Alistar" | "Alistar" | 12
+ /// `AMBESSA` | "Ambessa" | "Ambessa" | 799
/// `AMUMU` | "Amumu" | "Amumu" | 32
/// `ANIVIA` | "Anivia" | "Anivia" | 34
/// `ANNIE` | "Annie" | "Annie" | 1
@@ -199,6 +200,8 @@ newtype_enum! {
AKSHAN = 166,
/// `12`.
ALISTAR = 12,
+ /// `799`.
+ AMBESSA = 799,
/// `32`.
AMUMU = 32,
/// `34`.
@@ -537,6 +540,7 @@ impl Champion {
Self::AKALI => Some("Akali"),
Self::AKSHAN => Some("Akshan"),
Self::ALISTAR => Some("Alistar"),
+ Self::AMBESSA => Some("Ambessa"),
Self::AMUMU => Some("Amumu"),
Self::ANIVIA => Some("Anivia"),
Self::ANNIE => Some("Annie"),
@@ -729,6 +733,7 @@ impl Champion {
Self::AKALI => Some("Akali"),
Self::AKSHAN => Some("Akshan"),
Self::ALISTAR => Some("Alistar"),
+ Self::AMBESSA => Some("Ambessa"),
Self::AMUMU => Some("Amumu"),
Self::ANIVIA => Some("Anivia"),
Self::ANNIE => Some("Annie"),
@@ -951,6 +956,7 @@ impl std::str::FromStr for Champion {
/* AKAL */ [ 'A', 'K', 'A', 'L'] => Ok(Champion::AKALI),
/* AKSH */ [ 'A', 'K', 'S', 'H'] => Ok(Champion::AKSHAN),
/* ALIS */ [ 'A', 'L', 'I', 'S'] => Ok(Champion::ALISTAR),
+ /* AMBE */ [ 'A', 'M', 'B', 'E'] => Ok(Champion::AMBESSA),
/* AMUM */ [ 'A', 'M', 'U', 'M'] => Ok(Champion::AMUMU),
/* ANIV */ [ 'A', 'N', 'I', 'V'] => Ok(Champion::ANIVIA),
/* ANNI */ [ 'A', 'N', 'N', 'I'] => Ok(Champion::ANNIE),
diff --git a/riven/src/consts/queue.rs b/riven/src/consts/queue.rs
index 312dd79..572040b 100644
--- a/riven/src/consts/queue.rs
+++ b/riven/src/consts/queue.rs
@@ -276,13 +276,31 @@ newtype_enum! {
TWISTED_TREELINE_CO_OP_VS_AI_BEGINNER_BOT = 820,
/// `830`.
/// Co-op vs. AI Intro Bot games on Summoner's Rift
- SUMMONERS_RIFT_CO_OP_VS_AI_INTRO_BOT = 830,
+ ///
+ /// Deprecated in March 2024 in favor of queueId 870
+ #[deprecated(note="Deprecated in March 2024 in favor of queueId 870")]
+ SUMMONERS_RIFT_CO_OP_VS_AI_INTRO_BOT_DEPRECATED_830 = 830,
/// `840`.
/// Co-op vs. AI Beginner Bot games on Summoner's Rift
- SUMMONERS_RIFT_CO_OP_VS_AI_BEGINNER_BOT = 840,
+ ///
+ /// Deprecated in March 2024 in favor of queueId 880
+ #[deprecated(note="Deprecated in March 2024 in favor of queueId 880")]
+ SUMMONERS_RIFT_CO_OP_VS_AI_BEGINNER_BOT_DEPRECATED_840 = 840,
/// `850`.
/// Co-op vs. AI Intermediate Bot games on Summoner's Rift
- SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT = 850,
+ ///
+ /// Deprecated in March 2024 in favor of queueId 890
+ #[deprecated(note="Deprecated in March 2024 in favor of queueId 890")]
+ SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT_DEPRECATED_850 = 850,
+ /// `870`.
+ /// Co-op vs. AI Intro Bot games on Summoner's Rift
+ SUMMONERS_RIFT_CO_OP_VS_AI_INTRO_BOT = 870,
+ /// `880`.
+ /// Co-op vs. AI Beginner Bot games on Summoner's Rift
+ SUMMONERS_RIFT_CO_OP_VS_AI_BEGINNER_BOT = 880,
+ /// `890`.
+ /// Co-op vs. AI Intermediate Bot games on Summoner's Rift
+ SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT = 890,
/// `900`.
/// ARURF games on Summoner's Rift
SUMMONERS_RIFT_ARURF = 900,
diff --git a/riven/src/consts/route.rs b/riven/src/consts/route.rs
index 7be3153..55d2597 100644
--- a/riven/src/consts/route.rs
+++ b/riven/src/consts/route.rs
@@ -50,6 +50,11 @@ pub enum RegionalRoute {
/// `11` (riotapi-schema ID/repr)
ESPORTS = 11,
+ /// Special Europe esports platform for `account-v1`. Do not confuse with the `esports` Valorant platform route.
+ ///
+ /// `12` (riotapi-schema ID/repr)
+ ESPORTSEU = 12,
+
}
/// Platform routes for League of Legends (LoL), Teamfight Tactics (TFT), and Legends of Runeterra (LoR).
diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs
index 8fd2f5b..d88ddfe 100644
--- a/riven/src/endpoints.rs
+++ b/riven/src/endpoints.rs
@@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version db87f38b04ca43dab4aa172bf66ad33bce803528
+// Version 91e4e0e66537fdebe7117ee0589a16627335b056
//! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
@@ -252,6 +252,15 @@ impl RiotApi {
pub fn val_console_match_v1(&self) -> ValConsoleMatchV1 {
ValConsoleMatchV1 { base: self }
}
+ /// Returns a handle for accessing [ValConsoleRankedV1](crate::endpoints::ValConsoleRankedV1) endpoints.
+ /// # Riot Developer API Reference
+ /// `val-console-ranked-v1`
+ ///
+ /// Note: this method is automatically generated.
+ #[inline]
+ pub fn val_console_ranked_v1(&self) -> ValConsoleRankedV1 {
+ ValConsoleRankedV1 { base: self }
+ }
/// Returns a handle for accessing [ValContentV1](crate::endpoints::ValContentV1) endpoints.
/// # Riot Developer API Reference
/// `val-content-v1`
@@ -2210,6 +2219,43 @@ impl<'a> ValConsoleMatchV1<'a> {
}
+/// ValConsoleRankedV1 endpoints handle, accessed by calling [`val_console_ranked_v1()`](crate::RiotApi::val_console_ranked_v1) on a [`RiotApi`](crate::RiotApi) instance.
+/// # Riot Developer API Reference
+/// `val-console-ranked-v1`
+///
+/// Note: this struct is automatically generated.
+#[repr(transparent)]
+pub struct ValConsoleRankedV1<'a> {
+ base: &'a RiotApi,
+}
+impl<'a> ValConsoleRankedV1<'a> {
+ /// Get leaderboard for the competitive queue
+ /// # Parameters
+ /// * `route` - Route to query.
+ /// * `act_id` (required, in path) - Act ids can be found using the val-content API.
+ /// * `platform_type` (required, in query)
+ /// * `start_index` (optional, in query) - Defaults to 0.
+ /// * `size` (optional, in query) - Defaults to 200. Valid values: 1 to 200.
+ /// # Riot Developer API Reference
+ /// `val-console-ranked-v1.getLeaderboard`
+ ///
+ /// Note: this method is automatically generated.
+ pub fn get_leaderboard(&self, route: ValPlatformRoute, act_id: &str, platform_type: &str, size: Option, start_index: Option)
+ -> impl Future