#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals; import libhockeydata; hockeyarray = libhockeydata.CreateHockeyArray("./php/data/hockey20-21.db3"); hockeyarray = libhockeydata.AddHockeyLeagueToArray(hockeyarray, "NHL", "National Hockey League", "USA", "United States", "20210113", "Division=4", "ORDER BY Points DESC, GamesPlayed ASC, TWins DESC, Losses ASC, GoalsDifference DESC", False, True); hockeyarray = libhockeydata.AddHockeyConferenceToArray(hockeyarray, "NHL", ""); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "NHL", "Central", "", "Discover", "Division"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Carolina", "NC", "USA", "United States", "North Carolina", "Hurricanes", "", "Central", "PNC Arena", "Carolina", "", "AHL:Chicago Wolves"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Chicago", "IL", "USA", "United States", "Illinois", "Blackhawks", "", "Central", "United Center", "Chicago", "", "AHL:Rockford IceHogs"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Columbus", "OH", "USA", "United States", "Ohio", "Blue Jackets", "", "Central", "Nationwide Arena", "Columbus", "", "AHL:Cleveland Monsters"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Dallas", "TX", "USA", "United States", "Texas", "Stars", "", "Central", "American Airlines Center", "Dallas", "", "AHL:Texas Stars"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Detroit", "MI", "USA", "United States", "Michigan", "Red Wings", "", "Central", "Little Caesars Arena", "Detroit", "", "AHL:Grand Rapids Griffins"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Sunrise", "FL", "USA", "United States", "Florida", "Panthers", "", "Central", "BB&T Center", "Florida", "", "AHL:Syracuse Crunch"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Nashville", "TN", "USA", "United States", "Tennessee", "Predators", "", "Central", "Bridgestone Arena", "Nashville", "", "AHL:Chicago Wolves"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Tampa Bay", "FL", "USA", "United States", "Florida", "Lightning", "", "Central", "Amalie Arena", "Tampa Bay", "", "AHL:Syracuse Crunch"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "NHL", "West", "", "Honda", "Division"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Anaheim", "CA", "USA", "United States", "California", "Ducks", "", "West", "Honda Center", "Anaheim", "", "AHL:San Diego Gulls"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Glendale", "AZ", "USA", "United States", "Arizona", "Coyotes", "", "West", "Gila River Arena", "Arizona", "", "AHL:Tucson Roadrunners"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Denver", "CO", "USA", "United States", "Colorado", "Avalanche", "", "West", "Ball Arena", "Colorado", "", "AHL:Colorado Eagles"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Los Angeles", "CA", "USA", "United States", "California", "Kings", "", "West", "Staples Center", "Los Angeles", "", "AHL:Ontario Reign"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "St. Paul", "MN", "USA", "United States", "Minnesota", "Wild", "", "West", "Xcel Energy Center", "Minnesota", "", "AHL:Iowa Wild"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "St. Louis", "MO", "USA", "United States", "Missouri", "Blues", "", "West", "Enterprise Center", "St. Louis", "", "AHL:Utica Comets"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "San Jose", "CA", "USA", "United States", "California", "Sharks", "", "West", "SAP Center", "San Jose", "", "AHL:San Jose Barracuda"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Paradise", "NV", "USA", "United States", "Nevada", "Golden Knights", "", "West", "T-Mobile Arena", "Vegas", "", "AHL:Henderson Silver Knights"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "NHL", "East", "", "Massmutual", "Division"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Boston", "MA", "USA", "United States", "Massachusetts", "Bruins", "", "East", "TD Garden", "Boston", "", "AHL:Providence Bruins"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "Buffalo", "NY", "USA", "United States", "New York", "Sabres", "", "East", "KeyBank Center", "Buffalo", "", "AHL:Rochester Americans"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "NHL", "New Jersey", "NJ", "USA", "United States", "New Jersey", "Devils", "", "East", "Prudential Center", "New Jersey", "", "AHL:Binghamton Devils");
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals; import libhockeydata; hockeyarray = libhockeydata.CreateHockeyArray("./php/data/fhmt1y17-18.db3"); hockeyarray = libhockeydata.AddHockeyLeagueToArray(hockeyarray, "HOL", "Hockey League", "USA", "United States", "20171001", "Division=1,Conference=1", "ORDER BY Points DESC, GamesPlayed ASC, TWins DESC, Losses ASC, GoalsDifference DESC", True, True); hockeyarray = libhockeydata.AddHockeyConferenceToArray(hockeyarray, "HOL", "Conference 1"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "HOL", "Division 1", "Conference 1", "", ""); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Kansas City", "MO", "USA", "United States", "Missouri", "Flies", "Conference 1", "Division 1", "KAN Arena", "Kansas City", "", "MIL:Milan Dazzle"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Chicago", "IL", "USA", "United States", "Illionis", "Lampreys", "Conference 1", "Division 1", "CHI Arena", "Chicago", "", "MIL:Moline Expositions"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "HOL", "Division 2", "Conference 1", "", ""); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Ft. Wayne", "IN", "USA", "United States", "Indiana", "Whitecaps", "Conference 1", "Division 2", "WHI Arena", "Ft. Wayne", "", "MIL:Kokomo Loggerheads"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Minneapolis", "MN", "USA", "United States", "Minnesota", "Frogs", "Conference 1", "Division 2", "MIN Arena", "Minneapolis", "", "MIL:Becker Winged Wheelers"); hockeyarray = libhockeydata.AddHockeyConferenceToArray(hockeyarray, "HOL", "Conference 2"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "HOL", "Division 3", "Conference 2", "", ""); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Columbus", "OH", "USA", "United States", "Ohio", "Passion", "Conference 2", "Division 3", "COL Arena", "Columbus", "", "MIL:Toledo Pugs"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Akron", "OH", "USA", "United States", "Ohio", "Cattlemen", "Conference 2", "Division 3", "AKR Arena", "Akron", "", "MIL:Mason Caravans"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "HOL", "Division 4", "Conference 2", "", ""); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Indianapolis", "IN", "USA", "United States", "Indiana", "Gears", "Conference 2", "Division 4", "IND Arena", "Indianapolis", "", "MIL:Lawrence Walkers"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "HOL", "Wichita", "KS", "USA", "United States", "Kansas", "Rail Hawks", "Conference 2", "Division 4", "WIC Arena", "Wichita", "", "MIL:Garden City Jammers"); hockeyarray = libhockeydata.AddHockeyLeagueToArray(hockeyarray, "MIL", "Minor League", "USA", "United States", "20171001", "Division=1,Conference=1", "ORDER BY PCT DESC, GamesPlayed ASC, TWins DESC, Losses ASC, GoalsDifference DESC", True, True); hockeyarray = libhockeydata.AddHockeyConferenceToArray(hockeyarray, "MIL", "Conference 1"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "MIL", "Division 1", "Conference 1", "", ""); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "MIL", "Milan", "MO", "USA", "United States", "Missouri", "Dazzle", "Conference 1", "Division 1", "MIL Arena", "Milan", "", "HOL:Kansas City Flies"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "MIL", "Moline", "IL", "USA", "United States", "Illionis", "Expositions", "Conference 1", "Division 1", "MOL Arena", "Moline", "", "HOL:Chicago Lampreys"); hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "MIL", "Division 2", "Conference 1", "", ""); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "MIL", "Kokomo", "IN", "USA", "United States", "Indiana", "Loggerheads", "Conference 1", "Division 2", "KOK Arena", "Kokomo", "", "HOL:Ft. Wayne Whitecaps"); hockeyarray = libhockeydata.AddHockeyTeamToArray(hockeyarray, "MIL", "Becker", "MN", "USA", "United States", "Minnesota", "Winged Wheelers", "Conference 1", "Division 2", "BEC Arena", "Becker", "", "HOL:Minneapolis Frogs"); hockeyarray = libhockeydata.AddHockeyConferenceToArray(hockeyarray, "MIL", "Conference 2");
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals import libhockeydata hockeyarray = libhockeydata.CreateHockeyArray("./php/data/hockey15-16.db3") hockeyarray = libhockeydata.AddHockeyLeagueToArray( hockeyarray, "ECHL", "ECHL", "USA", "United States", "20151007", "Division=1,Conference=5", "ORDER BY PCT DESC, GamesPlayed ASC, TWins DESC, Losses ASC, GoalsDifference DESC", True, True) hockeyarray = libhockeydata.AddHockeyConferenceToArray(hockeyarray, "ECHL", "Eastern") hockeyarray = libhockeydata.AddHockeyDivisionToArray(hockeyarray, "ECHL", "East", "Eastern", "", "Division") hockeyarray = libhockeydata.AddHockeyTeamToArray( hockeyarray, "ECHL", "Elmira", "NY", "USA", "United States", "New York", "Jackals", "Eastern", "East", "First Arena", "Elmira", "", "AHL:Rochester Americans,NHL:Buffalo Sabres") hockeyarray = libhockeydata.AddHockeyTeamToArray( hockeyarray, "ECHL", "Reading", "PA", "USA", "United States", "Pennsylvania", "Royals", "Eastern", "East", "Santander Arena", "Reading", "", "AHL:Lehigh Valley Phantoms,NHL:Philadelphia Flyers") hockeyarray = libhockeydata.AddHockeyTeamToArray( hockeyarray, "ECHL", "Norfolk", "VA", "USA", "United States", "Virginia", "Admirals", "Eastern", "East", "Norfolk Scope", "Norfolk", "", "AHL:Bakersfield Condors,NHL:Edmonton Oilers") hockeyarray = libhockeydata.AddHockeyTeamToArray( hockeyarray, "ECHL", "Glens Falls", "NY", "USA", "United States",