# ESPN API

> 5 public methods for ESPN (espn.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by ESPN.

- Page: https://fous.com/methods/espn.com

## Methods

### [Get scores](https://fous.com/methods/espn.com/get-scores.md)

`espn.com/get_scores`, read. Gets ESPN scores and the schedule for a league on a local day. You can filter by team, and start times are shown in your time zone.

Returns: teams, scores, status, period, clock, start time, TV, venue, top performers, game link

### [Get team schedule](https://fous.com/methods/espn.com/get-team-schedule.md)

`espn.com/get_team_schedule`, read. Returns a team's past results and upcoming games for a season on ESPN, with opponents, local start times, scores, broadcasts and venues. Soccer fixtures include all competitions shown for the team.

Returns: team, league, season, team link, and games with date_time, opponent, home_away, result, score, tv_network, venue, game_link, event_id

### [Get player stats](https://fous.com/methods/espn.com/get-player-stats.md)

`espn.com/get_player_stats`, read. Looks up an ESPN player by name and returns season and career statistics. Use a league to tell apart players with the same name, and a season year or label to pick a past season.

Returns: player profile, season and career stats

### [List news for a league or team](https://fous.com/methods/espn.com/list-news.md)

`espn.com/list_news`, read. Finds an ESPN league or team by name and lists the latest headlines ESPN publishes for it, newest first.

Returns: headline, summary, published time, author, image link, article link

### [Get game summary](https://fous.com/methods/espn.com/get-game-summary.md)

`espn.com/get_game_summary`, read. Finds the latest game between two teams, or their game on a given date, in major US leagues, MLS or the EPL. Returns the score, scoring by period, leading players, team stats and player box scores.

Returns: league, date/time, status, venue, attendance, score, period scoring, top performers, team stats, player box score, game link
