PyBall - A MLB.com Stats API Python Client
API Documentation:
http://statsapi.mlb.com/docs/#
import pyball
def main():
pb = pyball.PyBall()
kluber = pb.get_player(446372)
print(kluber.fullName)
print(kluber.pitchHand.description)
print(kluber.batSide.description)
if __name__ == '__main__':
main()
beta alpha.
This is very much in Logging
This library uses logging to alert when the current version of this library does not match the MLB.com API. All loggers use PyBall. as a naming prefix. Use this to disable logging if you do not desire these alerts.