Skip to main content

Nhl Python SDK 1.0.0

Welcome to the Nhl SDK documentation. This guide will help you get started with integrating and using the Nhl SDK in your project.

Versions

  • API version: 1.0.0
  • SDK version: 1.0.0

About the API

This section provides documentation for the NHL Web API. Based on the unofficial documentation https://github.com/Zmalski/NHL-API-Reference

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: Python >= 3.7

Installation

To get started with the SDK, we recommend installing using pip:

pip install nhl-client

Environments

The SDK supports different environments for various stages of development and deployment.

Here are the available environments:

production = "https://api-web.nhle.com"

Setting an Environment

To configure the SDK to use a specific environment, you can set the base URL as follows:

from nhl import Environment

sdk.set_base_url(Environment.production.value)

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation:

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →