First quick version of an API wrapper