def _report(self): success, value = login_using_token() if success: endpoint = '/apps/{}/installed'.format(self._app['id']) gs = get_glob_session() if gs: success, text, data = request_wrapper('post', endpoint, session=gs.session)
def _report_share_opened(item_id): success, value = login_using_token() if success: endpoint = '/share/{}/installed'.format(item_id) gs = get_glob_session() if gs: success, text, data = request_wrapper('post', endpoint, session=gs.session)