View Single Post
  #9   Spotlight this post!  
Unread 01-04-2016, 12:56
plnyyanks's Avatar
plnyyanks plnyyanks is online now
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: [TBA]: TBA to Slack integration

Quote:
Originally Posted by mikhail View Post
This is so cool. Thanks for responses guys! I went ahead and created an account on Google App Engine for myself. They gave me 60 days of free trial - plenty for this season. Then we will see. Now I'm thinking what programming language to use. I'd guess following TBA it would be Python, right? Shall we create a project on GitHub? Of course it must be open source, not a tiny doubt about that.
App Engine actually has a free tier, and you shouldn't need any more resources that that. Python works nicely on App Engine, so that's a perfectly fine choice (other GAE choices are Java, Go, and PHP)

Quote:
Originally Posted by joelg236 View Post
Can I suggest a simple nodejs app that ingests TBA through this and serves slack JSON?

example
I'm not sure that library works if webhooks are used. The server wouldn't actually poll the TBA API, the flow would go something like this:

TBA ---(webhook)---> GAE (process, format) -----(Slack Message)---> Slack
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote