Skip to content

custom keys

eli fessler edited this page Jan 21, 2018 · 9 revisions

As of version 0.2.0, splatnet2statink supports adding custom keys to config.txt to enable specialized functionality. These are features which change how the script runs, but are closer to user-specific settings rather than command line flags which can be quickly specified or changed each time the script is run.

If you'd like to request official support for your custom feature so that it may be enabled or disabled with an optional key, please create a GitHub issue, or reach out on Twitter or Reddit. Requesting official support to accommodate specific use cases makes it easier to apply future updates to the script without having to maintain a separate fork.

Supported keys

  • ignore_private: Ignores all private battle results and does not upload them to stat.ink.
    • May be used when running the script as a cron job or as a daemon. See the automation page for more information.

An example config.txt with all custom keys enabled is provided below for reference:

{
    "api_key": "",
    "cookie": "",
    "user_lang": "",
    "ignore_private": "true"
}
Clone this wiki locally