readAPI: Calls the an SHL API

View source: R/shlAPI.R

readAPIR Documentation

Calls the an SHL API

Description

Calls the an SHL API

Usage

readAPI(url, ...)

Arguments

url

The url to the SHL API either the Index or the Portal

...

Additional queries for the API call.

Value

A data frame of the data.

Examples

readAPI(
   url = "https://index.simulationhockey.com/api/v1/players/ratings",
   query = list(league = 0, season = 63)
)

canadice/shlrtools documentation built on March 5, 2025, 11:15 a.m.