Main Content

Current and historical team, athlete, and event data from

First, create a connection object using statsllc. Then, retrieve data using the fetch or fetchUrl functions.

For a simple example, see Compare Player Salaries by Injury Status.

Functions connection
fetchRetrieve data from
fetchUrlRetrieve data from with URL


Compare Player Salaries by Injury Status

Retrieve player salary and injury data from and visualize this data in a scatter plot.

Retrieve Team Standings for the Current Year

Retrieve team standings data from for the current year.

Troubleshooting Data Retrieval Errors

Troubleshoot data retrieval errors.