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.8.tar.gz (5.6 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.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.8.tar.gz
  • Upload date:
  • Size: 5.6 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.8.tar.gz
Algorithm Hash digest
SHA256 ad1316e109b0472ae5cf862e153accd367b1f5386ad98f2f13c81f40ba2fa31b
MD5 1897c0460d432b433389d1bff4a26e02
BLAKE2b-256 5ef9c0bd447191425e073a219b0ed752ed771da145c36087635d9971c3f180f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 96e1a4f4f3c287f092a45a1c312cfa761903933dd0490717cccf32d84c096ef3
MD5 2bd964e027807e96fab5da2097c2dc35
BLAKE2b-256 efb307e8ae36fe896822315672c433dfc1b02ad5f7048c9fa476e03470de7c0c

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