{"ok":true,"site":"openligadb","host":"openligadb.de","about":"OpenLigaDB: a free community sports-results database for the Bundesliga and many other leagues. This CLI wraps its public JSON API at api.openligadb.de to list leagues, teams, matchdays, fixtures/results, standings, top scorers and change timestamps.","commands":[{"command":"list-leagues","summary":"List all available leagues across all sports and seasons, with shortcut and season ids for the other commands","params":[],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-leagues"},{"command":"list-leagues-by-season","summary":"List leagues for one season from the website's league overview (name, created info, results/schedule links that contain the league shortcut)","params":[{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025 for 2025/2026"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-leagues-by-season?season=2025"},{"command":"list-sports","summary":"List all sports available in OpenLigaDB","params":[],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-sports"},{"command":"list-teams","summary":"List the teams of a league in a season, with the teamId values used by match commands","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1, bl2, bl3"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-teams"},{"command":"list-matchdays","summary":"List the matchdays (groups) of a league season, with groupOrderID used as the matchday number","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-matchdays"},{"command":"get-current-matchday","summary":"Get the current matchday (group) of a league","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-current-matchday"},{"command":"list-matchday-matches","summary":"List all matches (fixtures and results) of one matchday in a league season","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"},{"name":"matchday","type":"number","required":true,"description":"Matchday number (groupOrderID), e.g. 1"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-matchday-matches"},{"command":"search-team-matches","summary":"List a league season's matches for teams whose name contains the given text","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"},{"name":"team","type":"string","required":true,"description":"Part of a team name, e.g. Bayern. Must not be purely numeric, because a number is read as a matchday."}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/search-team-matches"},{"command":"get-match","summary":"Get full details of one match by matchID: teams, results, goals, location and viewers","params":[{"name":"matchId","type":"number","required":true,"description":"Match id (matchID from match listings)"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-match"},{"command":"get-head-to-head","summary":"List all recorded matches between two teams, identified by teamId","params":[{"name":"team1","type":"number","required":true,"description":"First teamId (from list-teams), e.g. 40 = FC Bayern"},{"name":"team2","type":"number","required":true,"description":"Second teamId, e.g. 7 = Borussia Dortmund"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-head-to-head"},{"command":"list-team-matches","summary":"List a team's matches in a time window around today, given as weeks in the past and weeks in the future","params":[{"name":"teamId","type":"number","required":true,"description":"teamId from list-teams"},{"name":"weeksPast","type":"number","description":"Number of weeks back from today","default":2},{"name":"weeksFuture","type":"number","description":"Number of weeks ahead of today","default":2}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/list-team-matches"},{"command":"get-next-match","summary":"Get the next upcoming match of a league","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-next-match"},{"command":"get-last-match","summary":"Get the most recently played match of a league","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-last-match"},{"command":"get-standings","summary":"Get the league table (standings) for a league season","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-standings"},{"command":"get-top-scorers","summary":"Get the goal scorers ranking for a league season","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-top-scorers"},{"command":"get-last-change","summary":"Get the timestamp of the last data change for one matchday; a cheap poll before refetching match data","params":[{"name":"league","type":"string","required":true,"description":"League shortcut, e.g. bl1"},{"name":"season","type":"string","required":true,"description":"Season start year, e.g. 2025"},{"name":"matchday","type":"number","required":true,"description":"Matchday number (groupOrderID)"}],"exampleUrl":"https://clify-dev.netlify.app/openligadb/get-last-change"}]}