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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.7.tar.gz
  • Upload date:
  • Size: 4.0 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.7.tar.gz
Algorithm Hash digest
SHA256 77234f1b0931ffed111e5f2c72dc17694d1d093015385041d30de241a24fa9a9
MD5 5250707931dd19fbf85c9aabda28004a
BLAKE2b-256 28e90af8e167cc8f26b02095de99ef42b8d4062871b097ad738ffb415fe41137

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 888ea45c800c1855a932df8639db9a312f8d0d4991315e2cd78fa22239bfefb3
MD5 df8f6dc6da508006ffc730c9fe26f266
BLAKE2b-256 5e840e0c0621a2ae4275a08cc5e7eba9eb0977f4775948551436fc9896e5b07e

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