Currently these APIs pull from local variable declarations.
With the addition of #19 - we are now able to add global configurations in the config.yml or default-config.yml files. These APIs (depending on their settings) should first pull from the database, and if no record is found, pull from the local config files.
Access to the configuration files can be done via constants.py as such
from constants import Boosts, Leagues, Prestiges, Levels
Currently these APIs pull from local variable declarations. With the addition of #19 - we are now able to add global configurations in the
config.yml
ordefault-config.yml
files. These APIs (depending on their settings) should first pull from the database, and if no record is found, pull from the localconfig
files.Access to the configuration files can be done via
constants.py
as suchfor example.