Installation
Requirements
Python 3.11 or higher
pip package manager
Installation
Install via pip:
pip install vlrdevapi
This installs vlrdevapi and its dependencies:
beautifulsoup4: HTML parsing
lxml: Fast XML/HTML parser
httpx[brotli]: HTTP/2 client with retry-friendly session pooling and Brotli/gzip support
Verify Installation
import vlrdevapi as vlr
print(vlr.__version__)
Development Setup
For development work:
git clone https://github.com/vanshbordia/vlrdevapi.git
cd vlrdevapi
pip install -e .[dev]
This includes additional tools:
pytest: Testing framework
ruff: Linting and formatting
sphinx: Documentation builder
Troubleshooting
lxml Installation Issues
Windows: If lxml fails to install, use a pre-built wheel:
pip install --only-binary :all: lxml
Linux: Install development packages first:
# Debian/Ubuntu
sudo apt-get install libxml2-dev libxslt-dev python3-dev
# Fedora/RHEL
sudo dnf install libxml2-devel libxslt-devel python3-devel
Connection Issues
If you experience network errors:
Check firewall settings
Verify access to https://www.vlr.gg
The library includes automatic retry logic for transient errors
Next Steps
See Quick Start Guide to get started
Browse Usage Examples for practical use cases
Read Search API and other API references