Enums
Enumeration types used throughout the library.
- class valopy.enums.AllowedMethod(*values)[source]
Bases:
EnumAllowed HTTP methods.
Members
- GETstr
HTTP GET method.
- POSTstr
HTTP POST method.
- GET = 'GET'
- POST = 'POST'
- class valopy.enums.CountryCode(*values)[source]
Bases:
str,EnumCountry codes for content localization.
- EN_US
English (United States)
- Type:
str
- EN_GB
English (Great Britain)
- Type:
str
- DE_DE
German (Germany)
- Type:
str
- ES_ES
Spanish (Spain)
- Type:
str
- ES_MX
Spanish (Mexico)
- Type:
str
- FR_FR
French (France)
- Type:
str
- IT_IT
Italian (Italy)
- Type:
str
- JA_JP
Japanese (Japan)
- Type:
str
- KO_KR
Korean (South Korea)
- Type:
str
- PT_BR
Portuguese (Brazil)
- Type:
str
- RU_RU
Russian (Russia)
- Type:
str
- TR_TR
Turkish (Turkey)
- Type:
str
- VI_VN
Vietnamese (Vietnam)
- Type:
str
- DE_DE = 'de-de'
- EN_GB = 'en-gb'
- EN_US = 'en-us'
- ES_ES = 'es-es'
- ES_MX = 'es-mx'
- FR_FR = 'fr-fr'
- IT_IT = 'it-it'
- JA_JP = 'ja-jp'
- KO_KR = 'ko-kr'
- PT_BR = 'pt-br'
- RU_RU = 'ru-ru'
- TR_TR = 'tr-tr'
- VI_VN = 'vi-vn'
- class valopy.enums.Endpoint(url, model_class)[source]
Bases:
EnumAPI endpoints with associated response models.
- url
The URL path of the endpoint with placeholders for formatting.
- Type:
str
- model_class
The dataclass model associated with the endpoint for response deserialization.
- Type:
type[ValoPyModel]
- ACCOUNT_BY_NAME_V1 = ('/v1/account/{name}/{tag}', <class 'valopy.models.AccountV1'>)
- ACCOUNT_BY_NAME_V2 = ('/v2/account/{name}/{tag}', <class 'valopy.models.AccountV2'>)
- ACCOUNT_BY_PUUID_V1 = ('/v1/by-puuid/account/{puuid}', <class 'valopy.models.AccountV1'>)
- ACCOUNT_BY_PUUID_V2 = ('/v2/by-puuid/account/{puuid}', <class 'valopy.models.AccountV2'>)
- CONTENT_V1 = ('/v1/content', <class 'valopy.models.Content'>)
- ESPORTS_SCHEDULE = ('/v1/esports/schedule', <class 'valopy.models.EsportsEvent'>)
- LEADERBOARD_V3 = ('/v3/leaderboard/{region}/{platform}', <class 'valopy.models.Leaderboard'>)
- QUEUE_STATUS = ('/v1/queue-status/{region}', <class 'valopy.models.QueueData'>)
- STATUS = ('/v1/status/{region}', <class 'valopy.models.Status'>)
- VERSION_V1 = ('/v1/version/{region}', <class 'valopy.models.Version'>)
- WEBSITE = ('/v1/website/{countrycode}', <class 'valopy.models.WebsiteContent'>)
- class valopy.enums.EsportsRegion(*values)[source]
Bases:
str,EnumEsports event regions.
Members
- INTERNATIONALstr
International region
- NORTH_AMERICAstr
North America
- EMEAstr
Europe, Middle East, and Africa
- BRAZILstr
Brazil
- JAPANstr
Japan
- KOREAstr
Korea
- LATIN_AMERICAstr
Latin America
- LATIN_AMERICA_SOUTHstr
Latin America South
- LATIN_AMERICA_NORTHstr
Latin America North
- SOUTHEAST_ASIAstr
Southeast Asia
- VIETNAMstr
Vietnam
- OCEANIAstr
Oceania
- BRAZIL = 'brazil'
- EMEA = 'emea'
- INTERNATIONAL = 'international'
- JAPAN = 'japan'
- KOREA = 'korea'
- LATIN_AMERICA = 'latin_america'
- LATIN_AMERICA_NORTH = 'latin_america_north'
- LATIN_AMERICA_SOUTH = 'latin_america_south'
- NORTH_AMERICA = 'north_america'
- OCEANIA = 'oceania'
- SOUTHEAST_ASIA = 'southeast_asia'
- VIETNAM = 'vietnam'
- class valopy.enums.League(*values)[source]
Bases:
str,EnumEsports leagues.
Members
- VCT_AMERICASstr
VCT Americas
- CHALLENGERS_NAstr
Challengers North America
- GAME_CHANGERS_NAstr
Game Changers North America
- VCT_EMEAstr
VCT EMEA
- VCT_PACIFICstr
VCT Pacific
- CHALLENGERS_BRstr
Challengers Brazil
- CHALLENGERS_JPNstr
Challengers Japan
- CHALLENGERS_KRstr
Challengers Korea
- CHALLENGERS_LATAMstr
Challengers Latin America
- CHALLENGERS_LATAM_Nstr
Challengers Latin America North
- CHALLENGERS_LATAM_Sstr
Challengers Latin America South
- CHALLENGERS_APACstr
Challengers APAC
- CHALLENGERS_SEA_IDstr
Challengers SEA Indonesia
- CHALLENGERS_SEA_PHstr
Challengers SEA Philippines
- CHALLENGERS_SEA_SG_AND_MYstr
Challengers SEA Singapore and Malaysia
- CHALLENGERS_SEA_THstr
Challengers SEA Thailand
- CHALLENGERS_SEA_HK_AND_TWstr
Challengers SEA Hong Kong and Taiwan
- CHALLENGERS_SEA_VNstr
Challengers SEA Vietnam
- VALORANT_OCEANIA_TOURstr
Valorant Oceania Tour
- CHALLENGERS_SOUTH_ASIAstr
Challengers South Asia
- GAME_CHANGERS_SEAstr
Game Changers SEA
- GAME_CHANGERS_SERIES_BRAZILstr
Game Changers Series Brazil
- GAME_CHANGERS_EAST_ASIAstr
Game Changers East Asia
- GAME_CHANGERS_EMEAstr
Game Changers EMEA
- GAME_CHANGERS_JPNstr
Game Changers Japan
- GAME_CHANGERS_KRstr
Game Changers Korea
- GAME_CHANGERS_LATAMstr
Game Changers Latin America
- GAME_CHANGERS_CHAMPIONSHIPstr
Game Changers Championship
- MASTERSstr
Masters
- LAST_CHANCE_QUALIFIER_APACstr
Last Chance Qualifier APAC
- LAST_CHANCE_QUALIFIER_EAST_ASIAstr
Last Chance Qualifier East Asia
- LAST_CHANCE_QUALIFIER_EMEAstr
Last Chance Qualifier EMEA
- LAST_CHANCE_QUALIFIER_NAstr
Last Chance Qualifier North America
- LAST_CHANCE_QUALIFIER_BR_AND_LATAMstr
Last Chance Qualifier Brazil and Latin America
- VCT_LOCK_INstr
VCT Lock In
- CHAMPIONSstr
Champions
- VRL_SPAINstr
VRL Spain
- VRL_NORTHERN_EUROPEstr
VRL Northern Europe
- VRL_DACHstr
VRL DACH
- VRL_FRANCEstr
VRL France
- VRL_EASTstr
VRL East
- VRL_TURKEYstr
VRL Turkey
- VRL_CISstr
VRL CIS
- MENA_RESILIENCEstr
MENA Resilience
- CHALLENGERS_ITALYstr
Challengers Italy
- CHALLENGERS_PORTUGALstr
Challengers Portugal
- CHALLENGERS_APAC = 'challengers_apac'
- CHALLENGERS_BR = 'challengers_br'
- CHALLENGERS_ITALY = 'challengers_italy'
- CHALLENGERS_JPN = 'challengers_jpn'
- CHALLENGERS_KR = 'challengers_kr'
- CHALLENGERS_LATAM = 'challengers_latam'
- CHALLENGERS_LATAM_N = 'challengers_latam_n'
- CHALLENGERS_LATAM_S = 'challengers_latam_s'
- CHALLENGERS_NA = 'challengers_na'
- CHALLENGERS_PORTUGAL = 'challengers_portugal'
- CHALLENGERS_SEA_HK_AND_TW = 'challengers_sea_hk_and_tw'
- CHALLENGERS_SEA_ID = 'challengers_sea_id'
- CHALLENGERS_SEA_PH = 'challengers_sea_ph'
- CHALLENGERS_SEA_SG_AND_MY = 'challengers_sea_sg_and_my'
- CHALLENGERS_SEA_TH = 'challengers_sea_th'
- CHALLENGERS_SEA_VN = 'challengers_sea_vn'
- CHALLENGERS_SOUTH_ASIA = 'challengers_south_asia'
- CHAMPIONS = 'champions'
- GAME_CHANGERS_CHAMPIONSHIP = 'game_changers_championship'
- GAME_CHANGERS_EAST_ASIA = 'game_changers_east_asia'
- GAME_CHANGERS_EMEA = 'game_changers_emea'
- GAME_CHANGERS_JPN = 'game_changers_jpn'
- GAME_CHANGERS_KR = 'game_changers_kr'
- GAME_CHANGERS_LATAM = 'game_changers_latam'
- GAME_CHANGERS_NA = 'game_changers_na'
- GAME_CHANGERS_SEA = 'game_changers_sea'
- GAME_CHANGERS_SERIES_BRAZIL = 'game_changers_series_brazil'
- LAST_CHANCE_QUALIFIER_APAC = 'last_chance_qualifier_apac'
- LAST_CHANCE_QUALIFIER_BR_AND_LATAM = 'last_chance_qualifier_br_and_latam'
- LAST_CHANCE_QUALIFIER_EAST_ASIA = 'last_chance_qualifier_east_asia'
- LAST_CHANCE_QUALIFIER_EMEA = 'last_chance_qualifier_emea'
- LAST_CHANCE_QUALIFIER_NA = 'last_chance_qualifier_na'
- MASTERS = 'masters'
- MENA_RESILIENCE = 'mena_resilience'
- VALORANT_OCEANIA_TOUR = 'valorant_oceania_tour'
- VCT_AMERICAS = 'vct_americas'
- VCT_EMEA = 'vct_emea'
- VCT_LOCK_IN = 'vct_lock_in'
- VCT_PACIFIC = 'vct_pacific'
- VRL_CIS = 'vrl_cis'
- VRL_DACH = 'vrl_dach'
- VRL_EAST = 'vrl_east'
- VRL_FRANCE = 'vrl_france'
- VRL_NORTHERN_EUROPE = 'vrl_northern_europe'
- VRL_SPAIN = 'vrl_spain'
- VRL_TURKEY = 'vrl_turkey'
- class valopy.enums.Locale(*values)[source]
Bases:
str,EnumSupported locale codes for internationalization.
Members
- AR_AEstr
Arabic (United Arab Emirates)
- DE_DEstr
German (Germany)
- EN_GBstr
English (Great Britain)
- EN_USstr
English (United States)
- ES_ESstr
Spanish (Spain)
- ES_MXstr
Spanish (Mexico)
- FR_FRstr
French (France)
- ID_IDstr
Indonesian (Indonesia)
- IT_ITstr
Italian (Italy)
- JA_JPstr
Japanese (Japan)
- KO_KRstr
Korean (South Korea)
- PL_PLstr
Polish (Poland)
- PT_BRstr
Portuguese (Brazil)
- RU_RUstr
Russian (Russia)
- TH_THstr
Thai (Thailand)
- TR_TRstr
Turkish (Turkey)
- VI_VNstr
Vietnamese (Vietnam)
- ZH_CNstr
Chinese Simplified (China)
- ZH_TWstr
Chinese Traditional (Taiwan)
- AR_AE = 'ar-AE'
- DE_DE = 'de-DE'
- EN_GB = 'en-GB'
- EN_US = 'en-US'
- ES_ES = 'es-ES'
- ES_MX = 'es-MX'
- FR_FR = 'fr-FR'
- ID_ID = 'id-ID'
- IT_IT = 'it-IT'
- JA_JP = 'ja-JP'
- KO_KR = 'ko-KR'
- PL_PL = 'pl-PL'
- PT_BR = 'pt-BR'
- RU_RU = 'ru-RU'
- TH_TH = 'th-TH'
- TR_TR = 'tr-TR'
- VI_VN = 'vi-VN'
- ZH_CN = 'zh-CN'
- ZH_TW = 'zh-TW'
- class valopy.enums.Platform(*values)[source]
Bases:
str,EnumSupported Valorant platforms.
Members
- PCstr
Personal Computer (PC)
- CONSOLEstr
Console
- CONSOLE = 'console'
- PC = 'pc'
- class valopy.enums.Region(*values)[source]
Bases:
str,EnumAvailable regions.
Members
- EUstr
Europe
- NAstr
North America
- LATAMstr
Latin America
- BRstr
Brazil
- APstr
Asia Pacific
- KRstr
Korea
- AP = 'ap'
- BR = 'br'
- EU = 'eu'
- KR = 'kr'
- LATAM = 'latam'
- NA = 'na'
- class valopy.enums.Season(*values)[source]
Bases:
str,EnumValorant competitive seasons.
Episode 10 (Season 2025) is separated into 6 acts for 2025. This will likely continue for future seasons.
Members
- E1A1str
Episode 1 Act 1
- E1A2str
Episode 1 Act 2
- E1A3str
Episode 1 Act 3
- E2A1str
Episode 2 Act 1
- E2A2str
Episode 2 Act 2
- E2A3str
Episode 2 Act 3
- E3A1str
Episode 3 Act 1
- E3A2str
Episode 3 Act 2
- E3A3str
Episode 3 Act 3
- E4A1str
Episode 4 Act 1
- E4A2str
Episode 4 Act 2
- E4A3str
Episode 4 Act 3
- E5A1str
Episode 5 Act 1
- E5A2str
Episode 5 Act 2
- E5A3str
Episode 5 Act 3
- E6A1str
Episode 6 Act 1
- E6A2str
Episode 6 Act 2
- E6A3str
Episode 6 Act 3
- E7A1str
Episode 7 Act 1
- E7A2str
Episode 7 Act 2
- E7A3str
Episode 7 Act 3
- E8A1str
Episode 8 Act 1
- E8A2str
Episode 8 Act 2
- E8A3str
Episode 8 Act 3
- E9A1str
Episode 9 Act 1
- E9A2str
Episode 9 Act 2
- E9A3str
Episode 9 Act 3
- E10A1str
Episode 10 Act 1
- E10A2str
Episode 10 Act 2
- E10A3str
Episode 10 Act 3
- E10A4str
Episode 10 Act 4
- E10A5str
Episode 10 Act 5
- E10A6str
Episode 10 Act 6
- E10A1 = 'e10a1'
- E10A2 = 'e10a2'
- E10A3 = 'e10a3'
- E10A4 = 'e10a4'
- E10A5 = 'e10a5'
- E10A6 = 'e10a6'
- E1A1 = 'e1a1'
- E1A2 = 'e1a2'
- E1A3 = 'e1a3'
- E2A1 = 'e2a1'
- E2A2 = 'e2a2'
- E2A3 = 'e2a3'
- E3A1 = 'e3a1'
- E3A2 = 'e3a2'
- E3A3 = 'e3a3'
- E4A1 = 'e4a1'
- E4A2 = 'e4a2'
- E4A3 = 'e4a3'
- E5A1 = 'e5a1'
- E5A2 = 'e5a2'
- E5A3 = 'e5a3'
- E6A1 = 'e6a1'
- E6A2 = 'e6a2'
- E6A3 = 'e6a3'
- E7A1 = 'e7a1'
- E7A2 = 'e7a2'
- E7A3 = 'e7a3'
- E8A1 = 'e8a1'
- E8A2 = 'e8a2'
- E8A3 = 'e8a3'
- E9A1 = 'e9a1'
- E9A2 = 'e9a2'
- E9A3 = 'e9a3'