API for a simple application