ALL_TEAMS = [
    ['Dallas Cowboys', 'dallas-cowboys', 'nfl'],
    ['New York Giants', 'new-york-giants', 'nfl'],
    ['San Francisco 49ers', 'san-francisco-49ers', 'nfl'],
    ['Chicago Bears', 'chicago-bears', 'nfl'],
    ['New England Patriots', 'new-england-patriots', 'nfl'],
    ['New York Jets', 'new-york-jets', 'nfl'],
    ['Washington Redskins', 'washington-redskins', 'nfl'],
    ['Seattle Seahawks', 'seattle-seahawks', 'nfl'],
    ['Green Bay Packers', 'green-bay-packers', 'nfl'],
    ['San Diego Chargers', 'san-diego-chargers', 'nfl'],
    ['Philadelphia Eagles', 'philadelphia-eagles', 'nfl'],
    ['Denver Broncos', 'denver-broncos', 'nfl'],
    ['Detroit Lions', 'detroit-lions', 'nfl'],
    ['Arizona Cardinals', 'arizona-cardinals', 'nfl'],
    ['Pittsburgh Steelers', 'pittsburgh-steelers', 'nfl'],
    ['Houston Texans', 'houston-texans', 'nfl'],
    ['Minnesota Vikings', 'minnesota-vikings', 'nfl'],
    ['Atlanta Falcons', 'atlanta-falcons', 'nfl'],
    ['Carolina Panthers', 'carolina-panthers', 'nfl'],
    ['Miami Dolphins', 'miami-dolphins', 'nfl'],
    ['Baltimore Ravens', 'baltimore-ravens', 'nfl'],
    ['New Orleans Saints', 'new-orleans-saints', 'nfl'],
    ['Buffalo Bills', 'buffalo-bills', 'nfl'],
    ['Indianapolis Colts', 'indianapolis-colts', 'nfl'],
    ['Kansas City Chiefs', 'kansas-city-chiefs', 'nfl'],
    ['Cincinnati Bengals', 'cincinnati-bengals', 'nfl'],
    ['Oakland Raiders', 'oakland-raiders', 'nfl'],
    ['Tampa Bay Buccaneers', 'tampa-bay-buccaneers', 'nfl'],
    ['Los Angeles Rams', 'los-angeles-rams', 'nfl'],
    ['Cleveland Browns', 'cleveland-browns', 'nfl'],
    ['Tennessee Titans', 'tennessee-titans', 'nfl'],
    ['Jacksonville Jaguars', 'jacksonville-jaguars', 'nfl'],
    ['New York Knicks', 'new-york-knicks', 'nba'],
    ['Miami Heat', 'miami-heat', 'nba'],
    ['Golden State Warriors', 'golden-state-warriors', 'nba'],
    ['Los Angeles Lakers', 'los-angeles-lakers', 'nba'],
    ['Chicago Bulls', 'chicago-bulls', 'nba'],
    ['Los Angeles Clippers', 'los-angeles-clippers', 'nba'],
    ['Brooklyn Nets', 'brooklyn-nets', 'nba'],
    ['Boston Celtics', 'boston-celtics', 'nba'],
    ['Dallas Mavericks', 'dallas-mavericks', 'nba'],
    ['Washington Wizards', 'washington-wizards', 'nba'],
    ['San Antonio Spurs', 'san-antonio-spurs', 'nba'],
    ['Oklahoma City Thunder', 'oklahoma-city-thunder', 'nba'],
    ['Philadelphia 76ers', 'philadelphia-76ers', 'nba'],
    ['Toronto Raptors', 'toronto-raptors', 'nba'],
    ['Atlanta Hawks', 'atlanta-hawks', 'nba'],
    ['Portland Trail Blazers', 'portland-trail-blazers', 'nba'],
    ['Indiana Pacers', 'indiana-pacers', 'nba'],
    ['Orlando Magic', 'orlando-magic', 'nba'],
    ['Houston Rockets', 'houston-rockets', 'nba'],
    ['Cleveland Cavaliers', 'cleveland-cavaliers', 'nba'],
    ['Charlotte Hornets', 'charlotte-hornets', 'nba'],
    ['Memphis Grizzlies', 'memphis-grizzlies', 'nba'],
    ['Denver Nuggets', 'denver-nuggets', 'nba'],
    ['Phoenix Suns', 'phoenix-suns', 'nba'],
    ['New Orleans Pelicans', 'new-orleans-pelicans', 'nba'],
    ['Detroit Pistons', 'detroit-pistons', 'nba'],
    ['Sacramento Kings', 'sacramento-kings', 'nba'],
    ['Milwaukee Bucks', 'milwaukee-bucks', 'nba'],
    ['Minnesota Timberwolves', 'minnesota-timberwolves', 'nba'],
    ['Utah Jazz', 'utah-jazz', 'nba'],
    ['San Francisco Giants', 'san-francisco-giants', 'mlb'],
    ['New York Yankees', 'new-york-yankees', 'mlb'],
    ['Boston Red Sox', 'boston-red-sox', 'mlb'],
    ['Chicago Cubs', 'chicago-cubs', 'mlb'],
    ['Los Angeles Dodgers', 'los-angeles-dodgers', 'mlb'],
    ['St. Louis Cardinals', 'st-louis-cardinals', 'mlb'],
    ['Texas Rangers', 'texas-rangers', 'mlb'],
    ['New York Mets', 'new-york-mets', 'mlb'],
    ['Detroit Tigers', 'detroit-tigers', 'mlb'],
    ['Philadelphia Phillies', 'philadelphia-phillies', 'mlb'],
    ['Kansas City Royals', 'kansas-city-royals', 'mlb'],
    ['Washington Nationals', 'washington-nationals', 'mlb'],
    ['Minnesota Twins', 'minnesota-twins', 'mlb'],
    ['Toronto Blue Jays', 'toronto-blue-jays', 'mlb'],
    ['Cleveland Indians', 'cleveland-indians', 'mlb'],
    ['Pittsburgh Pirates', 'pittsburgh-pirates', 'mlb'],
    ['Baltimore Orioles', 'baltimore-orioles', 'mlb'],
    ['Los Angeles Angels', 'los-angeles-angels', 'mlb'],
    ['Atlanta Braves', 'atlanta-braves', 'mlb'],
    ['Chicago White Sox', 'chicago-white-sox', 'mlb'],
    ['Cincinnati Reds', 'cincinnati-reds', 'mlb'],
    ['Milwaukee Brewers', 'milwaukee-brewers', 'mlb'],
    ['Seattle Mariners', 'seattle-mariners', 'mlb'],
    ['Colorado Rockies', 'colorado-rockies', 'mlb'],
    ['San Diego Padres', 'san-diego-padres', 'mlb'],
    ['Oakland Athletics', 'oakland-athletics', 'mlb'],
    ['Houston Astros', 'houston-astros', 'mlb'],
    ['Tampa Bay Rays', 'tampa-bay-rays', 'mlb'],
    ['Arizona Diamondbacks', 'arizona-diamondbacks', 'mlb'],
    ['Miami Marlins', 'miami-marlins', 'mlb'],
    ['New York Rangers', 'new-york-rangers', 'nhl'],
    ['Chicago Blackhawks', 'chicago-blackhawks', 'nhl'],
    ['Boston Bruins', 'boston-bruins', 'nhl'],
    ['Los Angeles Kings', 'los-angeles-kings', 'nhl'],
    ['Philadelphia Flyers', 'philadelphia-flyers', 'nhl'],
    ['Washington Capitals', 'washington-capitals', 'nhl'],
    ['Detroit Red Wings', 'detroit-red-wings', 'nhl'],
    ['St. Louis Blues', 'st-louis-blues', 'nhl'],
    ['San Jose Sharks', 'san-jose-sharks', 'nhl'],
    ['New York Islanders', 'new-york-islanders', 'nhl'],
    ['Buffalo Sabres', 'buffalo-sabres', 'nhl'],
    ['Toronto Maple Leafs', 'toronto-maple-leafs', 'nhl'],
    ['New Jersey Devils', 'new-jersey-devils', 'nhl'],
    ['Pittsburgh Penguins', 'pittsburgh-penguins', 'nhl'],
    ['Tampa Bay Lightning', 'tampa-bay-lightning', 'nhl'],
    ['Montreal Canadiens', 'montreal-canadiens', 'nhl'],
    ['Minnesota Wild', 'minnesota-wild', 'nhl'],
    ['Anaheim Ducks', 'anaheim-ducks', 'nhl'],
    ['Dallas Stars', 'dallas-stars', 'nhl'],
    ['Vancouver Canucks', 'vancouver-canucks', 'nhl'],
    ['Arizona Coyotes', 'arizona-coyotes', 'nhl'],
    ['Colorado Avalanche', 'colorado-avalanche', 'nhl'],
    ['Florida Panthers', 'florida-panthers', 'nhl'],
    ['Edmonton Oilers', 'edmonton-oilers', 'nhl'],
    ['Nashville Predators', 'nashville-predators', 'nhl'],
    ['Calgary Flames', 'calgary-flames', 'nhl'],
    ['Carolina Hurricanes', 'carolina-hurricanes', 'nhl'],
    ['Ottawa Senators', 'ottawa-senators', 'nhl'],
    ['Columbus Blue Jackets', 'columbus-blue-jackets', 'nhl'],
    ['Winnipeg Jets', 'winnipeg-jets', 'nhl']
]

# ### teams
# # nfl
# url = 'https://api.seatgeek.com/2/performers?taxonomies.name=nfl&per_page=100'
# r = requests.get(url, auth=(SEATGEEK_CLIENT_ID, SEATGEEK_SECRET))
# j = r.json()
# performers = j['performers']
# nfl = []
# for p in performers:
#     t = p.get('type', '')
#     divisions = p.get('divisions', '')
#     if t == 'nfl' and divisions:
#         team = [p['name'], p['slug'], t]
#         nfl.append(team)
#
# # nba
# url = 'https://api.seatgeek.com/2/performers?taxonomies.name=nba&per_page=100'
# r = requests.get(url, auth=(SEATGEEK_CLIENT_ID, SEATGEEK_SECRET))
# j = r.json()
# performers = j['performers']
# nba = []
# for p in performers:
#     t = p.get('type', '')
#     divisions = p.get('divisions', '')
#     if t == 'nba' and divisions:
#         team = [p['name'], p['slug'], t]
#         nba.append(team)
#
# # mlb
# url = 'https://api.seatgeek.com/2/performers?taxonomies.name=mlb&per_page=100'
# r = requests.get(url, auth=(SEATGEEK_CLIENT_ID, SEATGEEK_SECRET))
# j = r.json()
# performers = j['performers']
# mlb = []
# for p in performers:
#     t = p.get('type', '')
#     divisions = p.get('divisions', '')
#     if t == 'mlb' and divisions:
#         team = [p['name'], p['slug'], t]
#         mlb.append(team)
#
# # nhl
# url = 'https://api.seatgeek.com/2/performers?taxonomies.name=nhl&per_page=100'
# r = requests.get(url, auth=(SEATGEEK_CLIENT_ID, SEATGEEK_SECRET))
# j = r.json()
# performers = j['performers']
# nhl = []
# for p in performers:
#     t = p.get('type', '')
#     divisions = p.get('divisions', '')
#     if t == 'nhl' and divisions:
#         team = [p['name'], p['slug'], t]
#         nhl.append(team)
# all_teams = nfl + nba + mlb + nhl
