Skip to main content

The comprehensive Python library for VLR.gg Valorant esports data scraping - tournaments, matches, players, and statistics

Project description

vlrdevapi

PyPI version Python Version License: MIT Documentation Status

Python library for VLR.gg Valorant esports data

Access Valorant esports data from VLR.gg with a clean, type-safe Python API. Get tournament info, match schedules, player stats, team data, and more.

Features

  • Complete Data Access: Events, matches, players, teams, series, and search
  • Type-Safe: Frozen Python dataclasses with rich type hints
  • Production-Ready: Error handling, retry logic, and rate limiting
  • Easy to Use: Simple, intuitive API design

Installation

pip install vlrdevapi

Requires Python 3.11+

Quick Start

import vlrdevapi as vlr

# Search for anything
results = vlr.search.search("nrg")
print(f"Found {results.total_results} results")

# Get upcoming matches
matches = vlr.matches.upcoming(limit=5)
for match in matches:
    print(f"{match.team1.name} vs {match.team2.name}")

# Player stats
profile = vlr.players.profile(player_id=4164)
print(f"{profile.handle} - {profile.country}")

# Team info
team = vlr.teams.info(team_id=1034)
print(f"{team.name} ({team.tag})")

# Event details
events = vlr.events.list_events(tier="vct", status="ongoing")

API Modules

Search

# Search everything
results = vlr.search.search("nrg")

# Type-specific searches
players = vlr.search.search_players("tenz")
teams = vlr.search.search_teams("sentinels")
events = vlr.search.search_events("champions")

Matches

# Get matches
upcoming = vlr.matches.upcoming(limit=10)
live = vlr.matches.live()
completed = vlr.matches.completed(limit=10)

Players

# Player data
profile = vlr.players.profile(player_id=4164)
matches = vlr.players.matches(player_id=4164, limit=20)
stats = vlr.players.agent_stats(player_id=4164, timespan="60d")

Teams

# Team data
info = vlr.teams.info(team_id=1034)
roster = vlr.teams.roster(team_id=1034)
matches = vlr.teams.upcoming_matches(team_id=1034)
placements = vlr.teams.placements(team_id=1034)

Events

# Event data
events = vlr.events.list_events(tier="vct", status="ongoing")
info = vlr.events.info(event_id=2498)
matches = vlr.events.matches(event_id=2498)
standings = vlr.events.standings(event_id=2498)

Series

# Match details
info = vlr.series.info(match_id=530935)
maps = vlr.series.matches(series_id=530935)

Documentation

Full documentation available at vlrdevapi.readthedocs.io

Common Use Cases

  • Analytics dashboards and statistics trackers
  • Tournament tracking and match notifications
  • Player performance analysis
  • Discord bots and automated reports
  • Betting prediction models
  • Research and data analysis

FAQ

Is this official? No, VLR.gg has no official API. This is a community library.

How do I find IDs? Check VLR.gg URLs. Example: vlr.gg/player/4164/aspas → player ID is 4164

Python version? Requires Python 3.11+

Links

License

MIT License - see LICENSE file


Disclaimer: Not affiliated with VLR.gg or Riot Games. Use responsibly.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vlrdevapi-1.2.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vlrdevapi-1.2.0-py3-none-any.whl (60.3 kB view details)

Uploaded Python 3

File details

Details for the file vlrdevapi-1.2.0.tar.gz.

File metadata

  • Download URL: vlrdevapi-1.2.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vlrdevapi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3926efaac0d5925e2e2778df5190bf381846081e338afc9fca84430721f67cd0
MD5 3a64e8ea8cedf591c0ebbc3b5f5dff2c
BLAKE2b-256 83819d25a83f325b32e87bb336923eaf5c0369c6cd6af1802a079fa60417d410

See more details on using hashes here.

Provenance

The following attestation bundles were made for vlrdevapi-1.2.0.tar.gz:

Publisher: publish-to-pypi.yml on Vanshbordia/vlrdevapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vlrdevapi-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: vlrdevapi-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 60.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vlrdevapi-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5c11aded024f16e2ed869645bb9ea2ac0cab6d07f23bf14e535c4e131c9f52
MD5 7137be74607a5e42262a1233e6260f33
BLAKE2b-256 e5978ade6677b95b2f50150767af0c12785e23026487f5444ca9f26d6eda85c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for vlrdevapi-1.2.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Vanshbordia/vlrdevapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page