Inspiration

I like looking up advanced stats before each baseball game, but I find Fangraphs, Brooks Baseball, and Baseball Reference difficult or impossible to use on mobile.

What it does

This project sends you 'baseball cards' via Facebook Messenger, showing the starting pitchers and their pitch usage, and could be extended to show cards for key players.

How we built it

We built it with a node.js API hosted on Heroku and using a few baseball APIs. We built a React front-end to render the baseball card.

Challenges we ran into

I was stuck on uploading images to the messenger bot, but that was due a finicky request library I was using. Rendering the card turned out to be trickier than we expected too.

Accomplishments that we're proud of

I'm leaving the hackathon with a bot that can show you 'cards' for any players, searching based on name and even handling multiple results.

What we learned

We learned a bit about baseball APIs and messenger bots.

What's next for Baseball Cards On Messenger

The app is not yet approved by Facebook, so to demo this app, please contact me: richardpenner@me.com. Also, the 'cards' themselves are very basic. These could be tweaked to look amazing, and feature more stats.

Built With

Share this project:
×

Updates