{"library":"mlb-statsapi","title":"MLB Stats API","description":"A Python wrapper for the MLB Stats API, providing easy access to MLB data including schedules, standings, player stats, and more. Version 1.9.0 is the latest stable release. Updates are frequent, with several releases per year.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install mlb-statsapi"],"cli":null},"imports":["import statsapi"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import statsapi\n\n# Get today's schedule\nschedule = statsapi.schedule()\nprint(schedule)\n\n# Get player info\nplayer = statsapi.lookup_player('Mike Trout')\nprint(player)\n\n# Get standings for a specific division\nstandings = statsapi.standings_data(divisionId=200)\nprint(standings.keys())","lang":"python","description":"Quick example of common operations: schedule, player lookup, and standings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}