An Unofficial script to retrieve results and upcoming matches from vlr.gg, a Valorant Esports match and news coverage site.
This script could not have been made without the use of the Unofficial REST API for vlr.gg made by Andre Saddler
usage: vlrgg.py [-h] [-t TEAM] [-l] [-u]
options:
-h, --help show this help message and exit
-t TEAM, --team TEAM Team Name
-l, --last Only get last game
-u, --upcoming Get upcoming matches
python3 vlrgg.py -l
Playoffs-Lower Round 2 in Champions Tour 2023: Masters Tokyo
Paper Rex vs EDward Gaming
2 - 1
More info: https://www.vlr.gg/220452/paper-rex-vs-edward-gaming-champions-tour-2023-masters-tokyo-lr2
git clone https://github.com/ruitcatarino/vlrgg
cd vlrgg
pip install -r requirements.txt
If you want to run the script from anywhere in your machine you can create an alias in your $HOME/.bashrc
Just add the following line to the end of the $HOME/.bashrc file
alias vlrgg=python3 {path_to_cloned_repo}/vlrgg.py
Note: Replace {path_to_cloned_repo} with the correct path to the cloned repo
This way, all you need to do to run the script is type vlrgg with the desired flags
vlrgg -l
Playoffs-Lower Round 2 in Champions Tour 2023: Masters Tokyo
Paper Rex vs EDward Gaming
2 - 1
More info: https://www.vlr.gg/220452/paper-rex-vs-edward-gaming-champions-tour-2023-masters-tokyo-lr2
If you are using Poetry you should know what you are doing, but just in case you forget something, here is a reminder:
poetry run python vlrgg.py