Beginning implementation of api calls