def GetRemoteAppId(servername, path, auth_func, rpc_server_factory=appengine_rpc.HttpRpcServer, rtok=None, secure=False, save_cookies=False):
 server = rpc_server_factory(servername, auth_func, GetUserAgent(), GetSourceName(), save_cookies=save_cookies, debug_data=False, secure=secure)
 app_id = GetRemoteAppIdFromServer(server, path, rtok)
 return (app_id, server)

def GetRemoteAppId ( servername , path , auth_func , rpc_server_factory = appengine_rpc . HttpRpcServer , rtok = None , secure = False , save_cookies = False ) : server = rpc_server_factory ( servername , auth_func , GetUserAgent ( ) , GetSourceName ( ) , save_cookies = save_cookies , debug_data = False , secure = secure ) app_id = GetRemoteAppIdFromServer ( server , path , rtok ) return ( app_id , server )
get the remote appid as reported at servername/path .