Skip to main content

This package serves as a wrapper for the public NHL api endpoints, allowing people to use call function methods to get NHL data.

Project description

Crunch The Stats Scraper

by Carter Hemrick

What is this Package?

This package serves as a wrapper, for NHL data apis available. Cutting the request portion out, and giving users the ability to call any api endpoint via a method.

API Endpoints

https://api-web.nhle.com/v1/
https://records.nhl.com/
https://api.nhle.com/stats/rest/

How to Use?

from crunch_the_cap_scraper.nhl_client import NHLAPIClient


client = NHLAPIClient()

Methods

client.fetch_all_franchises() RETURNS:

client.fetch_coach_tenures()

client.fetch_play_by_play(game_id) returns the event data for a game based off game_id includes x, y coords for goals, hits, blocks etc

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

crunch_the_stats_scraper-0.1.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crunch_the_stats_scraper-0.1.6-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file crunch_the_stats_scraper-0.1.6.tar.gz.

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for crunch_the_stats_scraper-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2dc6a36f5541d1e44f5931d472cb660a70720cea0827fb4c8ced86dd3715edc5
MD5 06474bdf0652a8dc3037026ce5853c5a
BLAKE2b-256 ab53e65c2e1985d8cddc36ce1c431658f1a42813bd7fcf793ae3dd55d011e592

See more details on using hashes here.

File details

Details for the file crunch_the_stats_scraper-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for crunch_the_stats_scraper-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4c90019af423d9d7841e6538812c9dc7884d231cce517da47f0cd29947ac744c
MD5 e24c7c1aff0476587ff891b4ad83db92
BLAKE2b-256 76b356c337b73a7ab5bead70904af23193acfd3a47a98df0c3b9b0be73eee2b2

See more details on using hashes here.

Supported by

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