Fetch servers version for HI3
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kody 2ffd93bbd3 Catch error 2 years ago
.gitignore please don't judge my code too hard 4 years ago
README.md forgot the other deps 4 years ago
fetch.py Catch error 2 years ago
hi3s.json.dist Minor stuff 4 years ago

README.md

Fetch servers version for HI3

Required

  • Python 3
  • A markdown document with <!-- VER --> and <!-- /VER --> tags to mark where the table will be.
    Also edit the fetch.py with the correct path to your doc (the first open() in the code).

Setup

pip3 install pytz semver requests
cp hi3s.json.dist hi3s.json
$EDITOR hi3s.json

Edit the version key for each server to match the current version, as this file might get largely outdated.

Run

Run a cron at least once every day. Don't run too frequently tho.

python3 fetch.py > cron.log 2>&1