ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
| import { createHash } from "crypto"; | |
| import fs from "fs"; | |
| import fsp from "fs/promises"; | |
| import path from "path"; | |
| import https from "https"; | |
| import { PassThrough } from "stream"; | |
| import type { Readable } from "stream"; | |
| import type { LoaderFunction } from "remix"; | |
| import sharp from "sharp"; | |
| import type { Request as NodeRequest } from "@remix-run/node"; |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
| /// | |
| /// Calculates the color of a linear gradient at a specific point. | |
| /// | |
| /// @param {Color} $start - gradient’s start color | |
| /// @param {Color} $end - gradient’s end color | |
| /// @param {Number} $point - point of the gradient (between 0 and 1, or 0% and 100%) at which we want the color | |
| /// @return {Color} | |
| /// | |
| /// @example scss | |
| /// background-color: gradient-color-at(#BBE087, #DCDE85, 0.4); |