Skip to main content

Functions to scrape ice hockey data from eliteprospects

Project description


Package to scrape hockey data from eliteprospect.
Please only use collected data for personal use - there are real APIs for professional usage of eliteprospects data.

Getting started

Package can be installed with pip
pip install eliteprospect_scraper

In python, import module with
import eliteprospect.eliteprospect_scraper as ep

See description of functions in package with

Functions can be used together and input and output is linked.


Description of functions contained in package. Ordered in

getPlayers(league, year)

Get all players for specific year and league; returns dataframe.

  • League: valid league from eliteprospects
  • year: valid combination of year in format 2015-16, 2016-17 etc.

getPlayers('shl', '2015-16')


Create dataframe with metadata by players.
Input is dataframe created with function getPlayers


Create dataframe with all statistics from playerpages.
Takes series of playerlinks as input. Playerlinks are also included in return output from getPlayerMetadata


dataprep_players(playerstats, league_mapping, players):

help(ep) dataprep_players(playerstats, league_mapping, players) Takes series of playerlinks to eliteprospect-profiles, Return dataframe with stats by player and season

How to use

See this notebook for examples of how to use the package, and in what order you can run the functions.


Package to scrape hockey data from eliteprospect

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

eliteprospect_scraper-0.9-py2.py3-none-any.whl (11.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page