valo_api package
Subpackages
- valo_api.endpoints package
- Module contents
get_raw_match_details_data_v1()
get_raw_match_details_data_v1_async()
get_raw_match_details_data()
get_raw_match_details_data_async()
get_raw_match_history_data_v1()
get_raw_match_history_data_v1_async()
get_raw_match_history_data()
get_raw_match_history_data_async()
get_raw_mmr_data_v1()
get_raw_mmr_data_v1_async()
get_raw_mmr_data()
get_raw_mmr_data_async()
get_raw_competitive_updates_data_v1()
get_raw_competitive_updates_data_v1_async()
get_raw_competitive_updates_data()
get_raw_competitive_updates_data_async()
get_content_v1()
get_content_v1_async()
get_content()
get_content_async()
get_store_featured_v1()
get_store_featured_v1_async()
get_store_featured_v2()
get_store_featured_v2_async()
get_store_featured()
get_store_featured_async()
get_store_offers_v2()
get_store_offers_v2_async()
get_store_offers()
get_store_offers_async()
get_status_v1()
get_status_v1_async()
get_status()
get_status_async()
get_version_info_v1()
get_version_info_v1_async()
get_version_info()
get_version_info_async()
get_website_v1()
get_website_v1_async()
get_website()
get_website_async()
get_leaderboard_v1()
get_leaderboard_v1_async()
get_leaderboard_v2()
get_leaderboard_v2_async()
get_leaderboard()
get_leaderboard_async()
get_account_details_by_name_v1()
get_account_details_by_name_v1_async()
get_account_details_by_name()
get_account_details_by_name_async()
get_account_details_by_puuid_v1()
get_account_details_by_puuid_v1_async()
get_account_details_by_puuid()
get_account_details_by_puuid_async()
get_match_details_v2()
get_match_details_v2_async()
get_match_details()
get_match_details_async()
get_mmr_details_by_puuid_v1()
get_mmr_details_by_puuid_v1_async()
get_mmr_details_by_puuid_v2()
get_mmr_details_by_puuid_v2_async()
get_mmr_details_by_puuid()
get_mmr_details_by_puuid_async()
get_mmr_details_by_name_v2()
get_mmr_details_by_name_v2_async()
get_mmr_details_by_name()
get_mmr_details_by_name_async()
get_mmr_history_by_puuid_v1()
get_mmr_history_by_puuid_v1_async()
get_mmr_history_by_puuid()
get_mmr_history_by_puuid_async()
get_mmr_history_by_name_v1()
get_mmr_history_by_name_v1_async()
get_mmr_history_by_name()
get_mmr_history_by_name_async()
get_match_history_by_puuid_v3()
get_match_history_by_puuid_v3_async()
get_match_history_by_puuid()
get_match_history_by_puuid_async()
get_match_history_by_name_v3()
get_match_history_by_name_v3_async()
get_match_history_by_name()
get_match_history_by_name_async()
get_lifetime_matches_by_puuid_v1()
get_lifetime_matches_by_puuid_v1_async()
get_lifetime_matches_by_puuid()
get_lifetime_matches_by_puuid_async()
get_lifetime_matches_by_name_v1()
get_lifetime_matches_by_name_v1_async()
get_lifetime_matches_by_name()
get_lifetime_matches_by_name_async()
get_crosshair_v1()
get_crosshair_v1_async()
get_crosshair()
get_crosshair_async()
- Module contents
- valo_api.exceptions package
- valo_api.responses package
- Submodules
- valo_api.responses.account_details module
- valo_api.responses.competitive_updates_raw module
CompetitiveMatchRaw
CompetitiveMatchRaw.MatchID
CompetitiveMatchRaw.MapID
CompetitiveMatchRaw.SeasonID
CompetitiveMatchRaw.MatchStartTime
CompetitiveMatchRaw.TierAfterUpdate
CompetitiveMatchRaw.TierBeforeUpdate
CompetitiveMatchRaw.RankedRatingAfterUpdate
CompetitiveMatchRaw.RankedRatingBeforeUpdate
CompetitiveMatchRaw.RankedRatingEarned
CompetitiveMatchRaw.RankedRatingPerformanceBonus
CompetitiveMatchRaw.CompetitiveMovement
CompetitiveMatchRaw.AFKPenalty
CompetitiveUpdatesRawV1
- valo_api.responses.content module
Entity
Act
ContentV1
ContentV1.version
ContentV1.characters
ContentV1.maps
ContentV1.chromas
ContentV1.skins
ContentV1.skinLevels
ContentV1.equips
ContentV1.gameModes
ContentV1.sprays
ContentV1.sprayLevels
ContentV1.charms
ContentV1.charmLevels
ContentV1.playerCards
ContentV1.playerTitles
ContentV1.acts
ContentV1.ceremonies
- valo_api.responses.error_response module
- valo_api.responses.leaderboard module
LeaderboardPlayerV1
LeaderboardPlayerV1.PlayerCardID
LeaderboardPlayerV1.TitleID
LeaderboardPlayerV1.IsBanned
LeaderboardPlayerV1.IsAnonymized
LeaderboardPlayerV1.puuid
LeaderboardPlayerV1.gameName
LeaderboardPlayerV1.tagLine
LeaderboardPlayerV1.leaderboardRank
LeaderboardPlayerV1.rankedRating
LeaderboardPlayerV1.numberOfWins
LeaderboardPlayerV1.competitiveTier
LeaderboardPlayerV2
LeaderboardPlayerV2.PlayerCardID
LeaderboardPlayerV2.TitleID
LeaderboardPlayerV2.IsBanned
LeaderboardPlayerV2.IsAnonymized
LeaderboardPlayerV2.puuid
LeaderboardPlayerV2.gameName
LeaderboardPlayerV2.tagLine
LeaderboardPlayerV2.leaderboardRank
LeaderboardPlayerV2.rankedRating
LeaderboardPlayerV2.numberOfWins
LeaderboardPlayerV2.competitiveTier
LeaderboardV2
- valo_api.responses.lifetime_match module
LifetimeMatchMapV1
LifetimeMatchSeasonV1
LifetimeMatchMetaV1
LifetimeMatchCharacterV1
LifetimeMatchShotsV1
LifetimeMatchDamageV1
LifetimeMatchStatsV1
LifetimeMatchStatsV1.puuid
LifetimeMatchStatsV1.team
LifetimeMatchStatsV1.level
LifetimeMatchStatsV1.character
LifetimeMatchStatsV1.tier
LifetimeMatchStatsV1.score
LifetimeMatchStatsV1.kills
LifetimeMatchStatsV1.deaths
LifetimeMatchStatsV1.assists
LifetimeMatchStatsV1.shots
LifetimeMatchStatsV1.damage
LifetimeMatchTeamsV1
LifetimeMatchV1
- valo_api.responses.match_details_raw module
MatchInfoRaw
MatchInfoRaw.matchId
MatchInfoRaw.mapId
MatchInfoRaw.gamePodId
MatchInfoRaw.gameLoopZone
MatchInfoRaw.gameServerAddress
MatchInfoRaw.gameVersion
MatchInfoRaw.gameLengthMillis
MatchInfoRaw.gameStartMillis
MatchInfoRaw.provisioningFlowID
MatchInfoRaw.isCompleted
MatchInfoRaw.customGameName
MatchInfoRaw.forcePostProcessing
MatchInfoRaw.queueID
MatchInfoRaw.gameMode
MatchInfoRaw.isRanked
MatchInfoRaw.isMatchSampled
MatchInfoRaw.seasonId
MatchInfoRaw.completionState
MatchInfoRaw.platformType
MatchInfoRaw.partyRRPenalties
MatchInfoRaw.shouldMatchDisablePenalties
PlayerPlatformInfoRaw
PlayerAbilityCastsRaw
PlayerStatsRaw
PlayerRoundDamageRaw
PlayerBehaviorFactorsRaw
PlayerBasicMovementRaw
PlayerBasicGunSkillRaw
PlayerAdaptiveBotsRaw
PlayerAbilityRaw
PlayerBombPlantRaw
PlayerDefendBombSiteRaw
PlayerSettingStatusRaw
PlayerExperienceDetailsRaw
MatchPlayersRaw
MatchPlayersRaw.subject
MatchPlayersRaw.gameName
MatchPlayersRaw.tagLine
MatchPlayersRaw.platformInfo
MatchPlayersRaw.teamId
MatchPlayersRaw.partyId
MatchPlayersRaw.characterId
MatchPlayersRaw.stats
MatchPlayersRaw.competitiveTier
MatchPlayersRaw.playerCard
MatchPlayersRaw.playerTitle
MatchPlayersRaw.accountLevel
MatchPlayersRaw.behaviorFactors
MatchPlayersRaw.newPlayerExperienceDetails
MatchPlayersRaw.roundDamage
MatchPlayersRaw.sessionPlaytimeMinutes
MatchTeamRaw
PlayerLocationsRaw
KillFinishingDamageRaw
PlayerKillsRaw
PlayerDamageRaw
PlayerEconomyRaw
PlayerAbilityEffectsRaw
RoundPlayerStatsRaw
PlayerScoreRaw
MatchRoundResultsRaw
MatchRoundResultsRaw.roundNum
MatchRoundResultsRaw.roundResult
MatchRoundResultsRaw.roundCeremony
MatchRoundResultsRaw.winningTeam
MatchRoundResultsRaw.plantRoundTime
MatchRoundResultsRaw.plantLocation
MatchRoundResultsRaw.plantSite
MatchRoundResultsRaw.defuseRoundTime
MatchRoundResultsRaw.defuseLocation
MatchRoundResultsRaw.playerStats
MatchRoundResultsRaw.roundResultCode
MatchRoundResultsRaw.bombPlanter
MatchRoundResultsRaw.bombDefuser
MatchRoundResultsRaw.playerEconomies
MatchRoundResultsRaw.playerScores
MatchRoundResultsRaw.plantPlayerLocations
MatchRoundResultsRaw.defusePlayerLocations
MatchDetailsRawV1
- valo_api.responses.match_history module
MatchMetadataV3
MatchMetadataV3.map
MatchMetadataV3.game_version
MatchMetadataV3.game_length
MatchMetadataV3.game_start
MatchMetadataV3.game_start_patched
MatchMetadataV3.rounds_played
MatchMetadataV3.mode
MatchMetadataV3.season_id
MatchMetadataV3.platform
MatchMetadataV3.matchid
MatchMetadataV3.region
MatchMetadataV3.cluster
MatchMetadataV3.queue
MatchPlayerSessionPlaytimeV3
MatchFriendlyFireV3
MatchPlayerBehaviorV3
MatchPlayerOSV3
MatchPlayerPlatformV3
MatchPlayerAbilityCastsV3
MatchPlayerAbilityCasts2V3
MatchPlayerAssetsCardV3
MatchPlayerAssetsAgentV3
MatchPlayerAssetsV3
MatchPlayerStatsV3
MatchPlayerEconomyReportV3
MatchPlayerEconomyV3
MatchPlayerV3
MatchPlayerV3.puuid
MatchPlayerV3.name
MatchPlayerV3.tag
MatchPlayerV3.team
MatchPlayerV3.level
MatchPlayerV3.character
MatchPlayerV3.currenttier
MatchPlayerV3.currenttier_patched
MatchPlayerV3.player_card
MatchPlayerV3.player_title
MatchPlayerV3.party_id
MatchPlayerV3.session_playtime
MatchPlayerV3.behavior
MatchPlayerV3.platform
MatchPlayerV3.ability_casts
MatchPlayerV3.assets
MatchPlayerV3.stats
MatchPlayerV3.economy
MatchPlayerV3.damage_made
MatchPlayerV3.damage_received
MatchPlayersV3
MatchTeamV3
MatchTeamsV3
Location
MatchRoundPlanterV3
MatchRoundPlayerLocationV3
MatchRoundPlantEventV3
MatchRoundDefuseEventV3
MatchRoundDamageEventV3
WeaponAssets
MatchRoundAssistantV3
MatchRoundKillEventV3
MatchRoundKillEventV3.kill_time_in_round
MatchRoundKillEventV3.kill_time_in_match
MatchRoundKillEventV3.victim_puuid
MatchRoundKillEventV3.victim_display_name
MatchRoundKillEventV3.victim_team
MatchRoundKillEventV3.victim_death_location
MatchRoundKillEventV3.damage_weapon_id
MatchRoundKillEventV3.damage_weapon_assets
MatchRoundKillEventV3.secondary_fire_mode
MatchRoundKillEventV3.player_locations_on_kill
MatchRoundKillEventV3.assistants
MatchRoundKillEventV3.killer_puuid
MatchRoundKillEventV3.killer_display_name
MatchRoundKillEventV3.killer_team
MatchRoundKillEventV3.damage_weapon_name
Weapon
Armor
MatchPlayerEconomyFullV3
MatchRoundPlayerStatsV3
MatchRoundPlayerStatsV3.ability_casts
MatchRoundPlayerStatsV3.player_puuid
MatchRoundPlayerStatsV3.player_display_name
MatchRoundPlayerStatsV3.player_team
MatchRoundPlayerStatsV3.damage_events
MatchRoundPlayerStatsV3.damage
MatchRoundPlayerStatsV3.bodyshots
MatchRoundPlayerStatsV3.headshots
MatchRoundPlayerStatsV3.legshots
MatchRoundPlayerStatsV3.kill_events
MatchRoundPlayerStatsV3.kills
MatchRoundPlayerStatsV3.score
MatchRoundPlayerStatsV3.economy
MatchRoundPlayerStatsV3.was_afk
MatchRoundPlayerStatsV3.was_penalized
MatchRoundPlayerStatsV3.stayed_in_spawn
MatchRoundV3
MatchHistoryPointV3
- valo_api.responses.match_history_raw module
- valo_api.responses.mmr_details module
- valo_api.responses.mmr_history module
MMRHistoryPointImagesV1
MMRHistoryPointMapV1
MMRHistoryPointV1
MMRHistoryPointV1.currenttier
MMRHistoryPointV1.currenttierpatched
MMRHistoryPointV1.images
MMRHistoryPointV1.match_id
MMRHistoryPointV1.map
MMRHistoryPointV1.season_id
MMRHistoryPointV1.ranking_in_tier
MMRHistoryPointV1.mmr_change_to_last_game
MMRHistoryPointV1.elo
MMRHistoryPointV1.date
MMRHistoryPointV1.date_raw
- valo_api.responses.mmr_raw module
SeasonInfoRaw
SeasonInfoRaw.SeasonID
SeasonInfoRaw.NumberOfWins
SeasonInfoRaw.NumberOfWinsWithPlacements
SeasonInfoRaw.NumberOfGames
SeasonInfoRaw.Rank
SeasonInfoRaw.CapstoneWins
SeasonInfoRaw.LeaderboardRank
SeasonInfoRaw.CompetitiveTier
SeasonInfoRaw.RankedRating
SeasonInfoRaw.GamesNeededForRating
SeasonInfoRaw.TotalWinsNeededForRank
SeasonInfoRaw.WinsByTier
QueueSkill
QueueSkills
MMRRawV1
- valo_api.responses.status module
- valo_api.responses.store_featured module
- valo_api.responses.store_offers module
- valo_api.responses.version_info module
- valo_api.responses.website module
- Module contents
- valo_api.utils package
Submodules
valo_api.config module
Classes:
|
- class Config
Bases:
object
Attributes:
-
USER_AGENT:
str
= 'Python Valorant API Wrapper'
-
BASE_URL:
str
= 'https://api.henrikdev.xyz'
-
ALL_REGIONS:
List
[str
] = ['eu', 'na', 'ap', 'kr', 'latam', 'br']
- ALL_COUNTRY_CODES = ['en-us', 'en-gb', 'de-de', 'es-es', 'fr-fr', 'it-it', 'ru-ru', 'tr-tr', 'es-mx', 'ja-jp', 'pt-br', 'vi-vn']
- ALL_LOCALS = ['ar-AE', 'de-DE', 'en-US', 'es-ES', 'es-MX', 'fr-FR', 'id-ID', 'it-IT', 'ja-JP', 'ko-KR', 'pl-PL', 'pt-BR', 'ru-RU', 'th-TH', 'tr-TR', 'vi-VN', 'zh-CN', 'zh-TW']
-
USER_AGENT:
valo_api.endpoint module
Functions:
|
Classes:
|
- response_type(api_type)
- class Endpoint(path, f_name, return_type, versions=('v1',), method='GET', kwargs=None, query_args=None, data_response=True)
Bases:
Generic
[R
]Attributes:
Methods:
_get_endpoint_wrapper
([version, async_function])recursive_typing_get_args
(type_)build_query_args
(**kwargs)_get_endpoint
(*args, **kwargs)_get_endpoint_async
(*args, **kwargs)parse_response
(response, content)-
path:
str
-
f_name:
str
-
return_type:
TypeVar
(R
)
-
versions:
Iterable
[str
] = ('v1',)
-
method:
str
= 'GET'
-
kwargs:
Optional
[OrderedDict
[str
,Type
]] = None
-
query_args:
Optional
[OrderedDict
[str
,str
]] = None
-
data_response:
bool
= True
- endpoint_wrappers()
- Return type:
Iterable
[Tuple
[str
,Callable
[...
,Union
[TypeVar
(R
),Awaitable
[TypeVar
(R
)]]]]]
- _get_endpoint_wrapper(version=None, async_function=False)
- Return type:
Callable
[...
,Union
[TypeVar
(R
),Awaitable
[TypeVar
(R
)]]]
- recursive_typing_get_args(type_)
- Return type:
str
- build_query_args(**kwargs)
- _get_endpoint(*args, **kwargs)
- Return type:
TypeVar
(R
)
- async _get_endpoint_async(*args, **kwargs)
- Return type:
TypeVar
(R
)
- parse_response(response, content)
- Return type:
TypeVar
(R
)
-
path:
valo_api.endpoints_config module
Classes:
|
An enumeration. |
- class EndpointsConfig(value)
Bases:
Enum
An enumeration.
Attributes:
- RAW_MATCH_DETAILS = Endpoint(path='/valorant/{version}/raw', f_name='get_raw_match_details_data', return_type=<class 'valo_api.responses.match_details_raw.MatchDetailsRawV1'>, versions=('v1',), method='POST', kwargs=OrderedDict([('version', <class 'str'>), ('value', typing.Optional[str]), ('region', typing.Optional[str]), ('queries', typing.Optional[dict])]), query_args=OrderedDict([('type', 'matchdetails'), ('value', '{value}'), ('region', '{region}'), ('queries', '{queries}')]), data_response=False)
- RAW_MATCH_HISTORY = Endpoint(path='/valorant/{version}/raw', f_name='get_raw_match_history_data', return_type=<class 'valo_api.responses.match_history_raw.MatchHistoryRawV1'>, versions=('v1',), method='POST', kwargs=OrderedDict([('version', <class 'str'>), ('value', typing.Optional[str]), ('region', typing.Optional[str]), ('queries', typing.Optional[dict])]), query_args=OrderedDict([('type', 'matchhistory'), ('value', '{value}'), ('region', '{region}'), ('queries', '{queries}')]), data_response=False)
- RAW_MMR = Endpoint(path='/valorant/{version}/raw', f_name='get_raw_mmr_data', return_type=<class 'valo_api.responses.mmr_raw.MMRRawV1'>, versions=('v1',), method='POST', kwargs=OrderedDict([('version', <class 'str'>), ('value', typing.Optional[str]), ('region', typing.Optional[str]), ('queries', typing.Optional[dict])]), query_args=OrderedDict([('type', 'mmr'), ('value', '{value}'), ('region', '{region}'), ('queries', '{queries}')]), data_response=False)
- RAW_COMPETITIVE_UPDATES = Endpoint(path='/valorant/{version}/raw', f_name='get_raw_competitive_updates_data', return_type=<class 'valo_api.responses.competitive_updates_raw.CompetitiveUpdatesRawV1'>, versions=('v1',), method='POST', kwargs=OrderedDict([('version', <class 'str'>), ('value', typing.Optional[str]), ('region', typing.Optional[str]), ('queries', typing.Optional[dict])]), query_args=OrderedDict([('type', 'competitiveupdates'), ('value', '{value}'), ('region', '{region}'), ('queries', '{queries}')]), data_response=False)
- CONTENT = Endpoint(path='/valorant/{version}/content', f_name='get_content', return_type=<class 'valo_api.responses.content.ContentV1'>, versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('locale', typing.Optional[str])]), query_args=OrderedDict([('locale', '{locale}')]), data_response=False)
- STORE_FEATURED = Endpoint(path='/valorant/{version}/store-featured', f_name='get_store_featured', return_type=typing.Union[valo_api.responses.store_featured.StoreFeaturedV1, typing.List[valo_api.responses.store_featured.BundleV2]], versions=['v1', 'v2'], method='GET', kwargs=OrderedDict([('version', <class 'str'>)]), query_args=None, data_response=True)
- STORE_OFFERS = Endpoint(path='/valorant/{version}/store-offers', f_name='get_store_offers', return_type=<class 'valo_api.responses.store_offers.StoreOffersV2'>, versions=['v2'], method='GET', kwargs=OrderedDict([('version', <class 'str'>)]), query_args=None, data_response=True)
- STATUS = Endpoint(path='/valorant/{version}/status/{region}', f_name='get_status', return_type=<class 'valo_api.responses.status.StatusV1'>, versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>)]), query_args=None, data_response=True)
- VERSION_INFO = Endpoint(path='/valorant/{version}/version/{region}', f_name='get_version_info', return_type=<class 'valo_api.responses.version_info.VersionInfoV1'>, versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>)]), query_args=None, data_response=True)
- WEBSITE = Endpoint(path='/valorant/{version}/website/{countrycode}', f_name='get_website', return_type=typing.List[valo_api.responses.website.WebsiteBannerV1], versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('countrycode', <class 'str'>)]), query_args=None, data_response=True)
- LEADERBOARD = Endpoint(path='/valorant/{version}/leaderboard/{region}', f_name='get_leaderboard', return_type=typing.Union[valo_api.responses.leaderboard.LeaderboardV2, typing.List[valo_api.responses.leaderboard.LeaderboardPlayerV1]], versions=['v1', 'v2'], method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('puuid', typing.Optional[str]), ('name', typing.Optional[str]), ('tag', typing.Optional[str]), ('season_id', typing.Optional[str]), ('start', typing.Optional[int])]), query_args=OrderedDict([('puuid', '{puuid}'), ('name', '{name}'), ('tag', '{tag}'), ('season_id', '{season_id}'), ('start', '{start}')]), data_response=False)
- ACCOUNT_BY_NAME = Endpoint(path='/valorant/{version}/account/{name}/{tag}', f_name='get_account_details_by_name', return_type=<class 'valo_api.responses.account_details.AccountDetailsV1'>, versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('name', <class 'str'>), ('tag', <class 'str'>), ('force_update', <class 'bool'>)]), query_args=OrderedDict([('force', '{force_update}')]), data_response=True)
- ACCOUNT_BY_PUUID = Endpoint(path='/valorant/{version}/by-puuid/account/{puuid}', f_name='get_account_details_by_puuid', return_type=<class 'valo_api.responses.account_details.AccountDetailsV1'>, versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('puuid', <class 'str'>), ('force_update', <class 'bool'>)]), query_args=OrderedDict([('force', '{force_update}')]), data_response=True)
- MATCH_DETAILS = Endpoint(path='/valorant/{version}/match/{match_id}', f_name='get_match_details', return_type=<class 'valo_api.responses.match_history.MatchHistoryPointV3'>, versions=['v2'], method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('match_id', <class 'str'>)]), query_args=None, data_response=True)
- MMR_DETAILS_BY_PUUID = Endpoint(path='/valorant/{version}/by-puuid/mmr/{region}/{puuid}', f_name='get_mmr_details_by_puuid', return_type=<class 'valo_api.responses.mmr_details.MMRDetailsV2'>, versions=['v1', 'v2'], method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('puuid', <class 'str'>)]), query_args=None, data_response=True)
- MMR_DETAILS_BY_NAME = Endpoint(path='/valorant/{version}/mmr/{region}/{name}/{tag}', f_name='get_mmr_details_by_name', return_type=<class 'valo_api.responses.mmr_details.MMRDetailsV2'>, versions=['v2'], method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('name', <class 'str'>), ('tag', <class 'str'>)]), query_args=None, data_response=True)
- MMR_HISTORY_BY_PUUID = Endpoint(path='/valorant/{version}/by-puuid/mmr-history/{region}/{puuid}', f_name='get_mmr_history_by_puuid', return_type=typing.List[valo_api.responses.mmr_history.MMRHistoryPointV1], versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('puuid', <class 'str'>)]), query_args=None, data_response=True)
- MMR_HISTORY_BY_NAME = Endpoint(path='/valorant/{version}/mmr-history/{region}/{name}/{tag}', f_name='get_mmr_history_by_name', return_type=typing.List[valo_api.responses.mmr_history.MMRHistoryPointV1], versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('name', <class 'str'>), ('tag', <class 'str'>)]), query_args=None, data_response=True)
- MATCH_HISTORY_BY_PUUID = Endpoint(path='/valorant/{version}/by-puuid/matches/{region}/{puuid}', f_name='get_match_history_by_puuid', return_type=typing.List[valo_api.responses.match_history.MatchHistoryPointV3], versions=['v3'], method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('puuid', <class 'str'>), ('size', typing.Optional[int]), ('map', typing.Optional[str]), ('game_mode', typing.Optional[str])]), query_args=OrderedDict([('size', '{size}'), ('map', '{map}'), ('filter', '{game_mode}')]), data_response=True)
- MATCH_HISTORY_BY_NAME = Endpoint(path='/valorant/{version}/matches/{region}/{name}/{tag}', f_name='get_match_history_by_name', return_type=typing.List[valo_api.responses.match_history.MatchHistoryPointV3], versions=['v3'], method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('name', <class 'str'>), ('tag', <class 'str'>), ('size', typing.Optional[int]), ('map', typing.Optional[str]), ('game_mode', typing.Optional[str])]), query_args=OrderedDict([('size', '{size}'), ('map', '{map}'), ('filter', '{game_mode}')]), data_response=True)
- LIFETIME_MATCHES_BY_PUUID = Endpoint(path='/valorant/{version}/by-puuid/lifetime/matches/{region}/{puuid}', f_name='get_lifetime_matches_by_puuid', return_type=typing.List[valo_api.responses.lifetime_match.LifetimeMatchV1], versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('puuid', <class 'str'>), ('mode', typing.Optional[str]), ('map', typing.Optional[str]), ('page', typing.Optional[int]), ('size', typing.Optional[int])]), query_args=OrderedDict([('mode', '{mode}'), ('map', '{map}'), ('page', '{page}'), ('size', '{size}')]), data_response=True)
- LIFETIME_MATCHES_BY_NAME = Endpoint(path='/valorant/{version}/lifetime/matches/{region}/{name}/{tag}', f_name='get_lifetime_matches_by_name', return_type=typing.List[valo_api.responses.lifetime_match.LifetimeMatchV1], versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('region', <class 'str'>), ('name', <class 'str'>), ('tag', <class 'str'>), ('mode', typing.Optional[str]), ('map', typing.Optional[str]), ('page', typing.Optional[int]), ('size', typing.Optional[int])]), query_args=OrderedDict([('mode', '{mode}'), ('map', '{map}'), ('page', '{page}'), ('size', '{size}')]), data_response=True)
- CROSSHAIR = Endpoint(path='/valorant/{version}/crosshair/generate', f_name='get_crosshair', return_type=<class 'PIL.Image.Image'>, versions=('v1',), method='GET', kwargs=OrderedDict([('version', <class 'str'>), ('crosshair_id', <class 'str'>)]), query_args=OrderedDict([('id', '{crosshair_id}')]), data_response=True)
Module contents
This is a Valorant API Wrapper for https://github.com/Henrik-3/unofficial-valorant-api
Functions:
|
Sets the API key to use for all API requests. |
- set_api_key(api_key)
Sets the API key to use for all API requests.
- Parameters:
api_key (
str
) – The API key to use.