Skip to content

Instantly share code, notes, and snippets.

@colbyb
colbyb / espn-api-list.md
Created August 9, 2023 11:22 — forked from nntrn/espn-api-list.md
list of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 2 years.

Older revisions you might like more than this one:

  • June 2021 - list of [ESPN endpoints for other sports/leagues][espn_api_leagues] (basketball, baseball, MMA, lacrosse, rugby)
  • August 2021 - historical fantasy data and notes on combining views
  • September 2021 - [source.txt][source_txt] file listing all endpoints
  • December 2021 - data response preview for endpoints
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();