Small node js library to talk to the kadfe server.
coffeeStatus
- Get the status of the coffee.clearCoffee
- Set coffee status tounavailable
.makeCoffee
- Set coffee status toavailable
.openSocket
- Open a websocket to be notified whenever the status changes.
!! All methods return promises !!
The following environment variables are used in the construction of the url used by the api.
KADFE_HOST
hostname for the kadfe serverKADFE_SSL
whether SSL is required for the serverKADFE_PORT
(optional) the port the server is listening on