You could, but you shouldn't. Use the API - with appropriate bindings for your language of choice: API reference Put the alarm API to work tutorial