def GetClientLib(service_class_names, doc_format, language, output_path, hostname=None):
 discovery_files = GenDiscoveryDoc(service_class_names, doc_format, output_path, hostname=hostname)
 client_libs = []
 for discovery_path in discovery_files:
  client_libs.append(GenClientLib(discovery_path, language, output_path))
 return (discovery_files, client_libs)

def GetClientLib ( service_class_names , doc_format , language , output_path , hostname = None ) : discovery_files = GenDiscoveryDoc ( service_class_names , doc_format , output_path , hostname = hostname ) client_libs = [ ] for discovery_path in discovery_files : client_libs . append ( GenClientLib ( discovery_path , language , output_path ) ) return ( discovery_files , client_libs )
fetch discovery documents and client libraries from a cloud service .