Scripts to render TF2 schema info to HTML.

nosoop 9d16345337 Initial commit před 3 roky
.gitignore 9d16345337 Initial commit před 3 roky
LICENSE 9d16345337 Initial commit před 3 roky
README.md 9d16345337 Initial commit před 3 roky
tf_attr_list.py 9d16345337 Initial commit před 3 roky
tf_item_list.py 9d16345337 Initial commit před 3 roky

README.md

TF2 Schema Page Renderer

Set of scripts to generate no-frills HTML pages for Team Fortress 2 item information.

In memory of optf2.

I host semi up-to-date renders for items and attributes.

Configuration

The scripts require the chevron library.

Create a config.ini value with the below contents, populating the values as appropriate (values are unquoted):

[DEFAULT]
key = YOUR_STEAM_API_KEY_HERE
language = en

Run python3 tf_attr_list.py to generate attributes.html; python3 tf_item_list.py to generate items.html. The scripts will fetch the latest version of the schema on each run.

License and Credits

The scripts are released under the 2-Clause BSD License.

chevron is an implementation of the mustache templating language. It is released under the MIT License.

tablesort is used to provide optional sorting functionality to the tables. It is released under the MIT License.