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

Uploaded Python 3

File details

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

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.9.tar.gz
  • Upload date:
  • Size: 5.8 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.9.tar.gz
Algorithm Hash digest
SHA256 bf4a63e8ef3830f2bdc0f42e718f7f1aed04a66dd33d8f71ecb8a219b8856167
MD5 cad076ccc84e4ad318f17841a876381b
BLAKE2b-256 41926d55a9b835b9536811e610439d1820c255e697b726c7c886987ddb4e8072

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crunch_the_stats_scraper-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 37ad654d4d41a23a4a2fd5132893e9d9c1c26fcd1c82e76e0911d6b795c99971
MD5 96cb58f76db0c2dee5665bfd7427d030
BLAKE2b-256 837c618bdc5a9e69d9b59496b0814bb3e943c411fcc81a9891bc99985af7453a

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