TheSportsDb =========== TheSportsDB Service provides access to sports stats using TheSportsDB API. For more information, check out https://www.thesportsdb.com/documentation. .. toctree:: :maxdepth: 2 :titlesonly: :caption: RPC Categories RPCS ---- .. function:: TheSportsDb.getTeamInfo(teamName: String, sport: String?) Get basic info of a team. **Arguments:** - ``teamName: String`` (`String `__) - Team name to search for - ``sport: String?`` (`String `__) - Sport name to filter matches (optional) **Returns:** ``Object`` (`Object `__) - structured data with the matched team info .. function:: TheSportsDb.recentTeamStats(teamName: String, sport: String?) Get the most recent completed game stats of a team. **Arguments:** - ``teamName: String`` (`String `__) - Team name to search for - ``sport: String?`` (`String `__) - Sport name to filter matches (optional) **Returns:** ``Object`` (`Object `__) - structured data with the most recent game stats