Skip to main content

A package for scraping NHL data

Project description

Max NHL Scraper

The max_nhl_scraper package is a Python tool for scraping NHL (National Hockey League) data. It allows users to easily extract detailed game data, player statistics, and other relevant information from the NHL's official sources.

Installation

You can install max_nhl_scraper directly from PyPI:

pip install max_nhl_scraper

Usage

Here's a simple example of how to use max_nhl_scraper:

from max_nhl_scraper.nhl.main import scrape_game
from max_nhl_scraper.nhl.utility.functions import *



# Example: Scrape data for a specific game or player
data = scrape_game(game_id=2023020005) #Replace <2023020005> with the actual game ID you want to scrape data for.

Requirements

nhl_scraper requires the following Python libraries:

  • beautifulsoup4==4.12.2
  • numpy==1.26.2
  • pandas==2.1.4
  • Requests==2.31.0 These dependencies should be automatically installed when you install the package via pip.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions to max_nhl_scraper are welcome! Please feel free to submit pull requests or open issues to discuss potential improvements or report bugs.

Contact

If you have any questions or suggestions, please contact me at maxtixador@gmail.com.

Acknowledgments

Special thanks to all contributors (just me for now) and users of max_nhl_scraper.

Project details


Download files

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

Source Distribution

max_nhl_scraper-0.1.7.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

max_nhl_scraper-0.1.7-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file max_nhl_scraper-0.1.7.tar.gz.

File metadata

  • Download URL: max_nhl_scraper-0.1.7.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for max_nhl_scraper-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1b027cc77c7c480e83c53fa597341efcf5cfd9c64c4140ffec6f89efe54794cb
MD5 66181dbdd2b80216debea4c7dc3c8702
BLAKE2b-256 00a0702d94d56d91efd2e52617e185322a466304cdf064d31e18b7daf9f0a70e

See more details on using hashes here.

File details

Details for the file max_nhl_scraper-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for max_nhl_scraper-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 846d1864c4257ad6edf54c2790832c5199bd4317c50bc792defb11f0a8bde9b4
MD5 c2c2d34eacf1b93b9c87e2c12034a517
BLAKE2b-256 1d1680ae317b832b6da677ecc9d3fc49774749f8a1646a8d4157b5289ac97e89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page