MLB Stats
Access up-to-date baseball news and statistics for players and teams across the MLB.
Access up-to-date baseball news and statistics for players and teams across the MLB. Stay informed about the latest happenings in Major League Baseball with the MLB Stats plugin. Retrieve current statistics for your favorite teams and players, including batting average, home runs, and more. Whether you're a die-hard fan or just looking to stay updated with the latest baseball trends, this plugin has got you covered. Get ready to hit a home run with the MLB Stats plugin!
How to
Comments (0)
API docs
Learn how to use MLB Stats effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "Can you show me the current standings for the MLB?"
-
Prompt 2: "I want to read the latest news articles about the Yankees."
-
Prompt 3: "What were the batting statistics for Aaron Judge in the 2020 season?"
-
Prompt 4: "Can you give me the pitching statistics for Max Scherzer in 2021?"
-
Prompt 5: "Who are the top pitching prospects for the White Sox?"
Features and commands
Feature/Command | Description |
---|---|
getStandings | This command retrieves the overall standings for all teams across the MLB depending on the year that is supplied. It returns the ranking of every team within their respective division. |
getNews | This command retrieves up-to-date news articles for a specified team from mlb.com. You need to specify the team name to filter the relevant articles. |
getBattingStatsIndividual | This command retrieves the batting statistics for an individual player for a given season. You need to provide the year and the fangraphs player identifier to filter the player's statistics. |
getPitchingStatsFangraphs | This command retrieves a specific pitching statistic for all starting pitchers from Fangraphs for the season being inputted. You need to specify the year and the pitching statistic to filter the statistics. |
getTopProspects | This command retrieves the top prospects for a specific team or across all of the MLB for the current season. You can specify the team name and the player type (batters or pitchers) to filter the prospects. |