Search
Unified search for players, teams, events, and series
The vlr.search
module provides high-level search helpers that return typed results.
Functions
search.search()
Unified search across players, teams, events, and series
search.search_players()
Search for players by name or handle
search.search_teams()
Search for teams by name or tag
search.search_events()
Search for events by name or keyword
search.search_series()
Search for series by keyword
Quick Example
import vlrdevapi
import time
# Unified search
results = vlrdevapi.search.search("sentinels")
print(f"Total results: {results.total_results}")
# Players
for p in results.players:
print(f"Player: {p.ign} ({p.real_name}) - {p.country}")
time.sleep(0.5) # Small delay to avoid overwhelming the server
# Teams
for t in results.teams:
status = "Inactive" if t.is_inactive else "Active"
print(f"Team: {t.name} - {t.country} ({status})")
time.sleep(0.5) # Small delay to avoid overwhelming the server
# Or use specific search
players = vlrdevapi.search.search_players("tenz")
for p in players:
print(f"{p.ign}: {p.url}")
time.sleep(0.5) # Small delay to avoid overwhelming the server
Notes
- Network issues return empty categories. Always check lengths before iterating.
- Player and team results are enriched using
players.profile()
andteams.info()
when possible. - Use specific helpers like
search_players()
if you only need one type.
Source
Data scraped from: https://www.vlr.gg/search/?q={query}