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: 2 months 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 (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T21:35:08.000Z (9 months ago)
- Last Synced: 2024-10-13T18:18:53.319Z (8 months 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
[](https://badge.fury.io/py/nhl)
[](https://pypistats.org/packages/nhl)
[](https://nhl.readthedocs.io/en/latest/)
[](https://github.com/mhostetter/nhl/actions)
[](https://codecov.io/gh/mhostetter/nhl)
[](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 .
```