<filename>src/resources/python/grab_team.py
import requests
import pandas as pd
import json
import time
import os, sys
import pickle
import datetime as dt
import constants
from nba_api.stats.library import data
from nba_api.stats.endpoints import franchisehistory,commonteamroster,leaguegamelog, leaguedashteamstats, leaguedashteamclutch, leaguedashptstats, leaguedashptteamdefend, leaguedashteamptshot, leaguedashteamshotlocations,
leaguehustle

class team_games(object):
    # Add Regular Season, Playoffs and Pre-Season Indicator to DataFrame

    return fact_team_games

class franchise(object):

    return fact_franchise

class teamroster(object):

    return fact_teamroster

class coaches(object):

    return fact_coaches

class team_stats(object):

    return fact_team_stats

class team_clutch_stats(object):

    return fact_team_clutch_stats

class team_tracking_stats(object):

    return fact_team_tracking_stats

class team_defensive_stats(object):

    return fact_defensive_stats

class team_shooting_stats(object):

    return fact_team_shooting_stats

class team_shot_location_stats(object):

    return fact_team_shot_location_stats

class team_defensiveshot_location_stats(object):

    return fact_team_defensiveshot_location_stats

class team_hustle_stats(object):

    return team_hustle_stats

<filename>src/resources/python/grab_team.py
import requests
import pandas as pd
import json
import time
import os, sys
import pickle
import datetime as dt
import constants
from nba_api.stats.library import data
from nba_api.stats.endpoints import franchisehistory,commonteamroster,leaguegamelog, leaguedashteamstats, leaguedashteamclutch, leaguedashptstats, leaguedashptteamdefend, leaguedashteamptshot, leaguedashteamshotlocations,
leaguehustle

class team_games(object):
    # Add Regular Season, Playoffs and Pre-Season Indicator to DataFrame

    return fact_team_games

class franchise(object):

    return fact_franchise

class teamroster(object):

    return fact_teamroster

class coaches(object):

    return fact_coaches

class team_stats(object):

    return fact_team_stats

class team_clutch_stats(object):

    return fact_team_clutch_stats

class team_tracking_stats(object):

    return fact_team_tracking_stats

class team_defensive_stats(object):

    return fact_defensive_stats

class team_shooting_stats(object):

    return fact_team_shooting_stats

class team_shot_location_stats(object):

    return fact_team_shot_location_stats

class team_defensiveshot_location_stats(object):

    return fact_team_defensiveshot_location_stats

class team_hustle_stats(object):

    return team_hustle_stats

# Add Regular Season, Playoffs and Pre-Season Indicator to DataFrame