liveplant / liveplant-bot

The hardware that runs liveplant
0 stars 2 forks source link

Have bot able to consume HTTP request #5

Open austinpray opened 9 years ago

austinpray commented 9 years ago

The bot should be able to get https://liveplant.herokuapp.com/current_action and then respond to whatever is in the action field. It should only respond if the unixTimestamp is newer than what the bot has in its memory.

For more information on this endpoint: https://github.com/liveplant/liveplant-server/tree/master/schema/current_action/GET

Edit: it seems really really easy to do with an Arduino http://www.arduino.cc/en/Tutorial/HttpClient