AlluringLabs / JenkiesBot

3 stars 0 forks source link

Some Command/Response Ideas #5

Open g33kidd opened 8 years ago

g33kidd commented 8 years ago

Would be great to have some things like Weather, Hours Played (for games) and some other stuff.

JenkinsDev commented 8 years ago

I may actually knock out the weather idea today at some point. I'll work on a logic adapter that interfaces with a weather API. I know last Friday you were speaking about Weather Underground, is that the best API available at the moment?

Functionalities like this should be extracted out into a submodule so we can reuse these as either commands and as questions that JenkiesBot can answer in a normal conversation.

Command

User: /weather 23188 JenkiesBot: Sunny with a chance of fucked up weather.

Chat

User: Hey JenkiesBot, what's the weather like in [City], [State]? JenkiesBot: It's raining cats and dogs

g33kidd commented 8 years ago

Yeah WeatherUnderground is probably the best API for this at the moment. Seems like there is the forecast.io api as well, which I've heard is pretty good.

https://developer.forecast.io/docs/v2