Vikings_Merch_app.py has some code that could be more flexible.
Create table that holds all inventory items.
Replace redundant if-statements with more flexible code.
Example: sp = # read this from the GUI
url = 'https://api.mysportsfeeds.com/v1.2/pull/nfl/%s-regular/cumulative_player_stats.json'
% sp
Make API call
Vikings_Merch_app.py has some code that could be more flexible.
Create table that holds all inventory items.
Replace redundant if-statements with more flexible code.
Example: sp = # read this from the GUI
url = 'https://api.mysportsfeeds.com/v1.2/pull/nfl/%s-regular/cumulative_player_stats.json'
% sp
Make API call