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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crunch_the_stats_scraper-0.1.5.tar.gz.
File metadata
- Download URL: crunch_the_stats_scraper-0.1.5.tar.gz
- Upload date:
- Size: 3.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6997548e9fa603aa97009197b893adca0bf268fbc5168007ce8c286f42115835
|
|
| MD5 |
3371c3cba6b668437ca6cab6c861a02d
|
|
| BLAKE2b-256 |
b1b4cf60f145a17ea217aed2078b5b63e3315d97c29e751f823b6ae5dd93259c
|
File details
Details for the file crunch_the_stats_scraper-0.1.5-py3-none-any.whl.
File metadata
- Download URL: crunch_the_stats_scraper-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c64370b111447e369d776656f61112d3fadc65d150ac32b7912f645cf7ec98e
|
|
| MD5 |
dc95c25f2fee1c1375ea1595562f538e
|
|
| BLAKE2b-256 |
e478285890f8431d9ac7da0e21bf7737dbf808bc3da3d00a0ba2e27a9032cdac
|