Prototype of how API calls might work