What a club's page shows
query_clubReturns what a club's page on The Tennis Desk shows, in one call. That is its teams in a season by league, each with its place in the Desk's unofficial league table and its record. It also gives the club's next matches, latest results and record against each other club. Call it when someone asks how a club is doing, its record against other clubs, or where its teams stand. For only its list of teams, or which plays next, query_club_teams is enough. Pass club: the club's name as people say it or as USTA prints it, or its page address or number. Pass season, a year, for that season's page, and briefing true for the club's week. A team's firstPlace says whether it can still finish first, which assumes each scheduled match is played. In a result, * marks a line won or lost by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| club | Yes | The club: its name as people say it or as USTA prints it, e.g. 'Scott Valley', or its club page address or number, e.g. '/c/218'. | |
| asked | No | The person's question word for word, never paraphrased. Leave it out rather than invent one. | |
| season | No | A season year, 2022 or later: the club's page in that season, its teams, places and records then. Leave it out for the newest season the club fielded a team. A season the club has no team in is not found, and the answer names the seasons it has. | |
| briefing | No | True for the club's week instead of its page: every team match in the next 7 days, counting the day of the call in Pacific time, each with the other team's place in the Desk's unofficial league table and their earlier meetings this season, and the checks the Desk writes from the records, each with the pages it rests on. Its `firstPlace` says whether each club team that plays in those days can still finish first, and when none plays, each team with a team match left. The answer's `briefing` is null when no team match falls in those days. Leave it out, or call again without it, for the club's page. |