Get a MaxPreps team schedule and scores
maxpreps_get_scheduleRetrieve a high school team's complete season schedule, including game results, both scores, and playoff tournament entries. Filter by completed or upcoming games to view season progress at a glance.
Instructions
Every game for a team season, with the result and both scores. Scores are oriented team-vs-opponent (teamScore/opponentScore); the raw resultString MaxPreps renders is winner-first, so a loss reads "L 20-13" even when the team scored 13. Soft-deleted contests are hidden by default, matching the site. Before opening day a current season legitimately has no results — check a prior season. Also returns any playoff or championship tournaments the season fed into. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team site path or URL, e.g. nc/charlotte/myers-park-mustangs/football | |
| played | No | Filter to games with a result, games without one, or both | all |
| season | No | Season label, e.g. 25-26. Omit for the current season. | |
| includeDeleted | No | Include soft-deleted contests the site hides | |
| includeTournaments | No | Include playoff/championship tournament entries the schedule references |