Skip to main content

Easy NHL

pypi-version

Full documentation for the package is avalaible at https://easy-nhl.readthedocs.io/en/latest/

Overview

Ever had a project idea that looks to take advantage of the NHL API, but you don't know where to start because there's no documentation?

Look no further!

This api wrapper was developed to make grabbing and using that data a snap!

Here's what you get:

  1. A few classes to make this simple
  2. Built in methods on those classes, to make the data gathering a breeze

Requirements

  • Python (3.5, 3.6, 3.7, 3.8)

Installation

pip install easy-nhl

Example

from easy_nhl import Team

print(Team().teams)
# This will give you a payload of all current and former NHL teams (A list of dicts). 
# You can then use the Team class to get rosters and more information as follows:
sabres = Team(7)
print(sabres.roster())

# You can get historical rosters as well by passing in a season.
# All of this is gone over in more detail in the documentation....
print(sabres.roster('20052006'))

Metadata

Release files for easy-nhl 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-nhl 0.3
File Size Uploaded
easy-nhl-0.3.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for easy-nhl 0.3
File Interpreter ABI Platform
easy_nhl-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / easy-nhl-0.3.tar.gz

Download URL easy-nhl-0.3.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
844941b091aa3f25f9b754421feb994210807e243ecb1e87fd24296b157367d3
BLAKE2b-256 checksum
How to use checksums
b7937a57295f42ca9826bee57402f6a3a33f1b9ff829ed2088a18695adcca0ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / easy_nhl-0.3-py3-none-any.whl

Download URL easy_nhl-0.3-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3746161275f022a051f064ea63cad230f73c928a8c736da05f95fa7df2698344
BLAKE2b-256 checksum
How to use checksums
a82c404d2ba0edc0fd41fc8bff1cc0fe97270e5057cc625b4b436ac95f13326e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page