Skip to main content

Scrape play-by-play data from NHL games with ease.

Project description

Zamboni: NHL play-by-play scraping


Zamboni makes it easy to scrape play-by-play data from National Hockey League
(NHL) games.

Want to scrape all of the plays from a game that's already been played? No

What about a game that's currently being played? Yeah, it can do that to - it
will 'stream' them for you.

What if you only want to grab plays from games that happened on a specific
date? Or involved a specific team? Sure thing. It's simple to filter games
based on attributes.


import zamboni

# Grab all of the games in a season
season = zamboni.get_season('20152016')

# Filter the games that have been played
played_games = season.played_games()

# Get the play-by-play data for all of the played games
for game in played_games:

# Do something with the play-by-play data...

You can also grab a single game directly if you know the game id.

game = zamboni.get_game('2015020578')

If the game has been played it will grab all of the play-by-play data for the game. If it hasn't been played...


pip install zamboni


Please do!

Project details

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page