diff --git a/src/consts/champion.rs b/src/consts/champion.rs
index 9fbd22b..22fcd2f 100644
--- a/src/consts/champion.rs
+++ b/src/consts/champion.rs
@@ -298,6 +298,8 @@ pub enum Champion {
#[strum(to_string="Vel'Koz", serialize="Velkoz")] VelKoz = 161,
/// Vi (`Vi`, 254).
#[strum(to_string="Vi")] Vi = 254,
+ /// Viego (`Viego`, 234).
+ #[strum(to_string="Viego")] Viego = 234,
/// Viktor (`Viktor`, 112).
#[strum(to_string="Viktor")] Viktor = 112,
/// Vladimir (`Vladimir`, 8).
@@ -497,6 +499,7 @@ impl Champion {
Self::Veigar => "Veigar",
Self::VelKoz => "Velkoz",
Self::Vi => "Vi",
+ Self::Viego => "Viego",
Self::Viktor => "Viktor",
Self::Vladimir => "Vladimir",
Self::Volibear => "Volibear",
diff --git a/src/endpoints.rs b/src/endpoints.rs
index 87f5398..96dd072 100644
--- a/src/endpoints.rs
+++ b/src/endpoints.rs
@@ -4,1385 +4,1426 @@
// This file is automatically generated! //
// Do not directly edit! //
// //
-///////////////////////////////////////////////
-
-// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version ece6f45a4d6232f4e9940219258f1bd3ae1fee6d
-
-//! Automatically generated endpoint handles.
-
-use crate::models::*;
-
-use std::future::Future;
-use std::vec::Vec;
-
-use url::form_urlencoded::Serializer;
-
-use crate::Result;
-use crate::consts::Region;
-use crate::riot_api::RiotApi;
-
-impl RiotApi {
- /// Returns a handle for accessing [AccountV1](crate::endpoints::AccountV1) endpoints.
- /// # Riot Developer API Reference
- /// `account-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn account_v1(&self) -> AccountV1 {
- AccountV1 { base: self }
- }
- /// Returns a handle for accessing [ChampionMasteryV4](crate::endpoints::ChampionMasteryV4) endpoints.
- /// # Riot Developer API Reference
- /// `champion-mastery-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn champion_mastery_v4(&self) -> ChampionMasteryV4 {
- ChampionMasteryV4 { base: self }
- }
- /// Returns a handle for accessing [ChampionV3](crate::endpoints::ChampionV3) endpoints.
- /// # Riot Developer API Reference
- /// `champion-v3`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn champion_v3(&self) -> ChampionV3 {
- ChampionV3 { base: self }
- }
- /// Returns a handle for accessing [ClashV1](crate::endpoints::ClashV1) endpoints.
- /// # Riot Developer API Reference
- /// `clash-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn clash_v1(&self) -> ClashV1 {
- ClashV1 { base: self }
- }
- /// Returns a handle for accessing [LeagueExpV4](crate::endpoints::LeagueExpV4) endpoints.
- /// # Riot Developer API Reference
- /// `league-exp-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn league_exp_v4(&self) -> LeagueExpV4 {
- LeagueExpV4 { base: self }
- }
- /// Returns a handle for accessing [LeagueV4](crate::endpoints::LeagueV4) endpoints.
- /// # Riot Developer API Reference
- /// `league-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn league_v4(&self) -> LeagueV4 {
- LeagueV4 { base: self }
- }
- /// Returns a handle for accessing [LolStatusV3](crate::endpoints::LolStatusV3) endpoints.
- /// # Riot Developer API Reference
- /// `lol-status-v3`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn lol_status_v3(&self) -> LolStatusV3 {
- LolStatusV3 { base: self }
- }
- /// Returns a handle for accessing [LolStatusV4](crate::endpoints::LolStatusV4) endpoints.
- /// # Riot Developer API Reference
- /// `lol-status-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn lol_status_v4(&self) -> LolStatusV4 {
- LolStatusV4 { base: self }
- }
- /// Returns a handle for accessing [LorMatchV1](crate::endpoints::LorMatchV1) endpoints.
- /// # Riot Developer API Reference
- /// `lor-match-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn lor_match_v1(&self) -> LorMatchV1 {
- LorMatchV1 { base: self }
- }
- /// Returns a handle for accessing [LorRankedV1](crate::endpoints::LorRankedV1) endpoints.
- /// # Riot Developer API Reference
- /// `lor-ranked-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn lor_ranked_v1(&self) -> LorRankedV1 {
- LorRankedV1 { base: self }
- }
- /// Returns a handle for accessing [LorStatusV1](crate::endpoints::LorStatusV1) endpoints.
- /// # Riot Developer API Reference
- /// `lor-status-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn lor_status_v1(&self) -> LorStatusV1 {
- LorStatusV1 { base: self }
- }
- /// Returns a handle for accessing [MatchV4](crate::endpoints::MatchV4) endpoints.
- /// # Riot Developer API Reference
- /// `match-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn match_v4(&self) -> MatchV4 {
- MatchV4 { base: self }
- }
- /// Returns a handle for accessing [SpectatorV4](crate::endpoints::SpectatorV4) endpoints.
- /// # Riot Developer API Reference
- /// `spectator-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn spectator_v4(&self) -> SpectatorV4 {
- SpectatorV4 { base: self }
- }
- /// Returns a handle for accessing [SummonerV4](crate::endpoints::SummonerV4) endpoints.
- /// # Riot Developer API Reference
- /// `summoner-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn summoner_v4(&self) -> SummonerV4 {
- SummonerV4 { base: self }
- }
- /// Returns a handle for accessing [TftLeagueV1](crate::endpoints::TftLeagueV1) endpoints.
- /// # Riot Developer API Reference
- /// `tft-league-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn tft_league_v1(&self) -> TftLeagueV1 {
- TftLeagueV1 { base: self }
- }
- /// Returns a handle for accessing [TftMatchV1](crate::endpoints::TftMatchV1) endpoints.
- /// # Riot Developer API Reference
- /// `tft-match-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn tft_match_v1(&self) -> TftMatchV1 {
- TftMatchV1 { base: self }
- }
- /// Returns a handle for accessing [TftSummonerV1](crate::endpoints::TftSummonerV1) endpoints.
- /// # Riot Developer API Reference
- /// `tft-summoner-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn tft_summoner_v1(&self) -> TftSummonerV1 {
- TftSummonerV1 { base: self }
- }
- /// Returns a handle for accessing [ThirdPartyCodeV4](crate::endpoints::ThirdPartyCodeV4) endpoints.
- /// # Riot Developer API Reference
- /// `third-party-code-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn third_party_code_v4(&self) -> ThirdPartyCodeV4 {
- ThirdPartyCodeV4 { base: self }
- }
- /// Returns a handle for accessing [TournamentStubV4](crate::endpoints::TournamentStubV4) endpoints.
- /// # Riot Developer API Reference
- /// `tournament-stub-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn tournament_stub_v4(&self) -> TournamentStubV4 {
- TournamentStubV4 { base: self }
- }
- /// Returns a handle for accessing [TournamentV4](crate::endpoints::TournamentV4) endpoints.
- /// # Riot Developer API Reference
- /// `tournament-v4`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn tournament_v4(&self) -> TournamentV4 {
- TournamentV4 { base: self }
- }
- /// Returns a handle for accessing [ValContentV1](crate::endpoints::ValContentV1) endpoints.
- /// # Riot Developer API Reference
- /// `val-content-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn val_content_v1(&self) -> ValContentV1 {
- ValContentV1 { base: self }
- }
- /// Returns a handle for accessing [ValMatchV1](crate::endpoints::ValMatchV1) endpoints.
- /// # Riot Developer API Reference
- /// `val-match-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn val_match_v1(&self) -> ValMatchV1 {
- ValMatchV1 { base: self }
- }
- /// Returns a handle for accessing [ValStatusV1](crate::endpoints::ValStatusV1) endpoints.
- /// # Riot Developer API Reference
- /// `val-status-v1`
- ///
- /// Note: this method is automatically generated.
- #[inline]
- pub fn val_status_v1(&self) -> ValStatusV1 {
- ValStatusV1 { base: self }
- }
-}
-
-/// AccountV1 endpoints handle, accessed by calling [`account_v1()`](crate::RiotApi::account_v1) on a [`RiotApi`](crate::RiotApi) instance.
-/// # Riot Developer API Reference
-/// `account-v1`
-///
-/// Note: this struct is automatically generated.
-pub struct AccountV1<'a> {
- base: &'a RiotApi,
-}
-impl<'a> AccountV1<'a> {
- /// Get account by puuid
- /// # Parameters
- /// * `region` - Region to query.
- /// * `puuid`
- /// # Riot Developer API Reference
- /// `account-v1.getByPuuid`
- ///
- /// Note: this method is automatically generated.
- pub fn get_by_puuid(&self, region: Region, puuid: &str)
- -> impl Future