SrcLbMaker
A python script to make speedrun.com global leaderboards.
Installation
You need python 3.6 or higher.
-
First, go to the folder where you want to clone the repository:
cd yourDirectory
-
Then clone the repository:
git clone https://github.com/Rayu1/SrcLbMaker.git
-
Then install requirements:
pip install -r requirements.txt
Usage
To run the command type python [filename] [options]
Makelb
Usage: makelb.py [OPTIONS]
Options:
-t, --lbtype [wrs|runs|gp|mc]
Type of the leaderboard.
Wrs - world records count,
runs - runs count,
gp - games played count,
mc - games moderation count,
cat - categories played count,
pod - podiums count. [required]
-L, --lblength INTEGER Length of the leaderboard. [default: 100]
Addtodb
Usage: addtodb.py [OPTIONS]
Options:
-n, --nickname TEXT Runners nickname.
Examples
-
To make a world records count leaderboard run:
python makelb.py -t wrs -L 50
-
To add runner "Rayu_" to database run:
python addtodb.py -n Rayu_