Create method for calling API v3