A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/RentoSaijo/nhlscraper below:

RentoSaijo/nhlscraper: Scraper for National Hockey League (NHL) Data on R

nhlscraper

nhlscraper is a CRAN-approved R-package for scraping NHL data using the NHL and ESPN APIs. It primarily wraps endpoints documented by Zachary Maludzinski, Drew Hynes, and Joseph Wilson; it also includes newly discovered endpoints by myself. It covers data from high-level multi-season summaries and award winners to low-level play-by-play logs and sports books' odds. Since the NHL API endpoints got reworked in 2023, many of the earlier scrapers became deprecated; this one should be updated for the new endpoints.

Install the official version from CRAN with:

install.packages('nhlscraper')

Install the development version from GitHub with:

install.packages('devtools')
devtools::install_github('RentoSaijo/nhlscraper')

Most, if not, all of these endpoints are unofficially documented (i.e. hidden); therefore, it is all of our responsibility to hit these endpoints with care. For example, endpoints that contain historical data and other mostly static data should only be hit once and stored in a MySQL database for further query. We do not know the exact rate limits for these APIs; don't ruin the fun for all of us!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4