Skip to content

cocktail-ninja/cocktail-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Cocktail Ninja - Arduino Yun API

API Specifications

Response:

STATUS 503
{ "status": "busy" }

STATUS 404
{ "status": "glass not found" }

STATUS 200
{ "status": "ready" }

Request: /{cid}-{amount}

  • cid: Component id (Pump: P1, P2, P3, P4, P5, P6 - Valve: V1, V2, V3, V4)
  • amount: amount number (in ml)

E.g. pouring Valve-1 1000ml, Pump-1 500ml and Pump-2 200ml

/make_drink/v1-1000/p1-500/p2-200

Response:

  • ready_in: total pouring time
{ "ready_in": 1500 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%