Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhostetter/nhl
A Python 3 API for NHL game and player stats
https://github.com/mhostetter/nhl
api hockey nhl python sports stats
Last synced: 19 days ago
JSON representation
A Python 3 API for NHL game and player stats
- Host: GitHub
- URL: https://github.com/mhostetter/nhl
- Owner: mhostetter
- License: mit
- Created: 2018-05-08T19:57:50.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T21:35:08.000Z (2 months ago)
- Last Synced: 2024-10-13T18:18:53.319Z (about 1 month ago)
- Topics: api, hockey, nhl, python, sports, stats
- Language: HTML
- Homepage: https://nhl.readthedocs.io/en/latest/
- Size: 206 KB
- Stars: 26
- Watchers: 5
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nhl
[![PyPI version](https://badge.fury.io/py/nhl.svg)](https://badge.fury.io/py/nhl)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/nhl)](https://pypistats.org/packages/nhl)
[![Read the Docs](https://img.shields.io/readthedocs/nhl)](https://nhl.readthedocs.io/en/latest/)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mhostetter/nhl/Test)](https://github.com/mhostetter/nhl/actions)
[![Codecov](https://img.shields.io/codecov/c/github/mhostetter/nhl)](https://codecov.io/gh/mhostetter/nhl)
[![Twitter](https://img.shields.io/twitter/follow/nhl_py?label=nhl_py&style=flat&logo=twitter)](https://twitter.com/nhl_py)A Python 3 API for NHL game and player stats
## Install
Install the latest released version via `pip`.
```bash
$ pip3 install nhl
```Or you can install the latest pushed code via `git`.
```bash
$ git clone https://github.com/mhostetter/nhl
$ pip3 install -e nhl/
```## Unit Testing
Required dependencies:
```bash
$ pip3 install --user pytest
$ pip3 install --user pytest-cov
$ pip3 install --user requests-mock
```Run tests:
```bash
$ pytest .
```