Inspiration
We moved to a new office near the San Francisco AT&T ballpark. People often want to know whether there's a ball game on.
What it does
You give it a city (e.g. /ballgametoday san francisco) and it will post to slack whether or not there's a ball game. If so, the time and which team
How I built it
With AWS lambda, the gametonightin/json feed, and a blog post about writing Slack web hooks with AWS lambda
Challenges I ran into
The lambda falls asleep when it hasn't been used for a while. I still haven't solved this problem!
Accomplishments that I'm proud of
What I learned
What's next for ballgametoday
Asynchronous, so that even if it falls asleep it will respond and not time out on the slack endpoint.
Built With
- gametonight.in
- python
Log in or sign up for Devpost to join the conversation.