vlrdevapi
Python library for VLR.gg Valorant esports data
Documentation · ReadTheDocs · PyPI · GitHub
Access Valorant esports data from VLR.gg with a clean, type-safe Python API. Get tournament info, match schedules, player stats, team data, and series/match-level details.
Features
- Complete Data Access - Events, matches, players, teams, series, and news
- Type-Safe - Pydantic models with rich type hints and field descriptions
- Production-Ready - Retry logic, rate limiting, and LRU-cached enrichment
- Curried Access - Bind a player/team/series ID once, then call sub-methods without re-passing
- Managed with uv - Fast dependency resolution and virtual environment management
Installation
# Using uv (recommended)
uv add vlrdevapi
# Using pip
pip install vlrdevapi
Requires Python 3.11+
Quick Start
Module-level (no client needed)
import vlrdevapi
# Single-shot fetches via module-level access
info = vlrdevapi.player.info(player_id=11225)
print(f"{info.name} - {info.country}")
series = vlrdevapi.series.info(series_id=542272)
print(f"{series.team1.name} vs {series.team2.name}")
event = vlrdevapi.event.info(event_id=2863)
print(f"{event.name} - {event.subtitle}")
Sync client
from vlrdevapi import VLRClient
with VLRClient() as client:
# Curried access - bind a player once
player = client.player(11225)
print(player.info().name)
print(player.teams().current_teams)
print(player.agents(timespan="all").agents[:3])
# Team data
team = client.team(1034)
roster = team.roster()
placements = team.placements()
# Event data
event = client.event(2863)
stages = event.stages()
matches = event.matches()
API Modules
Matches
matches = client.matches.upcoming(page=1)
live = client.matches.live()
completed = client.matches.completed(page=1)
Players
p = client.player(11225)
info = p.info() # Basic info
teams = p.teams() # Current / past teams
agents = p.agents(timespan="60d") # Agent stats
matches = p.matches(limit=20) # Match history
profile = p.profile() # Consolidated profile
Teams
t = client.team(1034)
info = t.info() # Name, tag, socials
roster = t.roster() # Players + staff
placements = t.placements() # Event placements + winnings
transactions = t.transactions() # Join / leave history
completed = t.completed_matches() # Completed match results
upcoming = t.upcoming_matches() # Upcoming match schedule
Events
e = client.event(2863)
info = e.info() # Event details
matches = e.matches() # Match list
standings = e.standings() # Standings / prize distribution
Series
s = client.series(542272)
info = s.info() # Series overview
vods = s.vods() # VOD links
players = s.players(game_id=1) # Per-game player stats
rounds = s.rounds(game_id=1) # Round-by-round data
performance = s.performance() # Advanced performance stats
economy = s.economy(game_id=1) # Economy data
News
page = client.news(page=1) # Browse the news listing
for item in page.news[:5]:
print(item.title)
article = client.news.article(734100) # Fetch a full article
print(article.content_md) # Article body as Markdown
Documentation
- Official Docs - vlrdevapi.pages.dev/docs
- ReadTheDocs - vlrdevapi.readthedocs.io
Development
This project uses uv for dependency management.
# Clone and set up
git clone https://github.com/Vanshbordia/vlrdevapi
cd vlrdevapi
uv sync --group dev
# Lint & type check
ruff check src/ tests/
ty check src/vlrdevapi/
# Run tests
uv run pytest tests/ -v
See CONTRIBUTING.md for the full contribution guide.
License
MIT License - see the LICENCE file.
Disclaimer: Not affiliated with VLR.gg or Riot Games. Use responsibly.
Metadata
Release files for vlrdevapi 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vlrdevapi-2.4.0.tar.gz | 185.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vlrdevapi-2.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 389.0 kB
Release files / vlrdevapi-2.4.0.tar.gz
| Download URL | vlrdevapi-2.4.0.tar.gz |
|---|---|
| Size | 185.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
514d5ecec341d8887f94245aef66d613491df62f8221ccd9f0611eb766da7b26
|
|
BLAKE2b-256 checksum How to use checksums |
afc3ce5aa8463e34ac012a86636acf5d84f3436f34ee8ef8d68a2d9a4267e91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logRelease files / vlrdevapi-2.4.0-py3-none-any.whl
| Download URL | vlrdevapi-2.4.0-py3-none-any.whl |
|---|---|
| Size | 203.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c32ddb846d60864a6ae4a8f656fb01740d0d8ed077d45fb59f1336598055b2a
|
|
BLAKE2b-256 checksum How to use checksums |
44acefe4078cb7f69b339daf3a3dff1cdcfa82f47aacb6749cd6b43a6a469a70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency log