def import_team_for_month(team_abbrev, year, month)
      start_date = Date.new(year.to_i, month.to_i) # first day of month
      end_date = (start_date >> 1)-1 # last day of month
      ((start_date)..(end_date)).each do |dt| 
        puts year.to_s + '/' + month.to_s + '/' + dt.day
        team = Team.new('det')
        games = team.games_for_date(year, month, dt.day.to_s)
        games.each do |game|
          import_for_game(game.gid)
        end
      end
    end
def import_team_for_month(team_abbrev, year, month)
      start_date = Date.new(year.to_i, month.to_i) # first day of month
      end_date = (start_date >> 1)-1 # last day of month
      ((start_date)..(end_date)).each do |dt| 
        puts year.to_s + '/' + month.to_s + '/' + dt.day
        team = Team.new('det')
        games = team.games_for_date(year, month, dt.day.to_s)
        games.each do |game|
          import_for_game(game.gid)
        end
      end
    end
player
 team
 game
 atbat
 pitch
 pitch type
 game type
 umpire