View source: R/team_endpoints.R
nfl_endpoints | R Documentation |
Backend function for converting team name from string to url endpoint.
nfl_endpoints(teamName)
teamName |
the full team name e.g. "Arizona Cardinals" etc. |
The statistics page url for an individual team on ESPN ends with a three letter string resembling the city or team name of a given team. For example "Arizona Cardinals" has the endpoint "ari". Exceptions include
Green Bay Packers is "gb"
JacksonVille Jaguars is "jax"
Kansas City Chiefs is "kc", etc.
string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.