VENDING MONITOR API DOCUMENTATION ======================== BASE URL: http://pipes.nasif.co/vending ENDPOINTS --------- 1. GET / Check vending monitor camera status and get latest snapshot info Response (Online): { "status": "Online", "snapshot": "https://example.com/vending/stock", "uploadTimeUnix": 1700000000000, "uploadTimeNYC": "11/23/2025, 3:45:00 PM" } Response (Offline): { "status": "Offline", "message": "Camera has not sent an image in over 10 minutes", "lastUpdate": "11/23/2025, 3:30:00 PM", "minutesAgo": 15 } Example: curl http://pipes.nasif.co/vending/ 2. GET /stock Get the full webcam snapshot image Returns: JPEG image Example: curl http://pipes.nasif.co/vending/stock -o snapshot.jpg 3. GET /cokezero Get cropped image (35x90px) of Coke Zero stock area Returns: JPEG image Example: curl http://pipes.nasif.co/vending/cokezero -o cropped.jpg