Function: logoUrl()
logoUrl(
team,league,o?):Promise<string|undefined>
Defined in: packages/sdvplot/src/marks.ts:116
Archive URL of a team's logo (or wordmark, markType) for the season, loading the league first; undefined for an
unknown team (the resolver warns) or when no mark of that type is archived (one warning).
Parameters
team
league
"aaf" | "ahl" | "ajhl" | "bchl" | "cchl" | "cebl" | "cfb" | "cfl" | "chl" | "cricket" | "easl" | "echl" | "f1" | "fiba" | "gojhl" | "iihf" | "kijhl" | "lba" | "mbb" | "mhl" | "milb" | "mjhl" | "mlb" | "nba" | "nbagl" | "nbl" | "ncaa_baseball" | "ncaa_mhockey" | "ncaa_softball" | "ncaa_whockey" | "nfl" | "nhl" | "nojhl" | "ohl" | "ojhl" | "phf" | "pwhl" | "qmjhl" | "sjhl" | "soccer" | "sphl" | "ufl" | "usfl" | "ushl" | "vijhl" | "wbb" | "whl" | "wnba" | "xfl"
o?
LogoUrlOptions = {}
Returns
Promise<string | undefined>
Example
import { logoUrl } from "@sportsdataverse/sdvplot";
await logoUrl("KC", "nfl", { markType: "wordmark" });