Update device.nut

Added API-Key support