API constants taken out into file consts.py