Skip to content

Develop more flexible code #12

Description

@Nnamdikeshi

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions