anatools.api.api module

API Module

class anatools.api.api.AnaAPI(url, headers, verbose=False)

Bases: object

API Module

addChannelOrganization(channelId, organizationId)
addMember(email, role=None, organizationId=None, workspaceId=None)
addVolumeOrganization(volumeId, organizationId)
close()
createAnalytics(workspaceId, datasetId, rangeInput, typeInput, returnImages)
createAnnotation(workspaceId, datasetId, format, map)
createDataset(workspaceId, graphId, name, interpretations, seed, priority, description=None)
createGANDataset(modelId, datasetId, workspaceId)
createGraph(workspaceId, channelId, graph, name, description)
createManagedChannel(organizationId, name, dataVolumes=None, instanceType=None, timeout=None)
createManagedVolume(organizationId, name)
createWorkspace(organizationId, name, channelIds)
deleteAnalytics(workspaceId, analyticsId)
deleteDataset(workspaceId, datasetId)
deleteGANDataset(datasetId, workspaceId)
deleteGraph(workspaceId, graphId)
deleteManagedChannel(channelId)
deleteManagedVolume(volumeId)
deleteVolumeData(volumeId, keys=[])
deleteWorkspace(workspaceId)
deployChannel(channelId, alias=None)
downloadAnnotation(workspaceId, datasetId, annotationId)
downloadDataset(workspaceId, datasetId)
downloadGraph(workspaceId, graphId)
editDataset(workspaceId, datasetId, name=None, description=None)
editGraph(workspaceId, graphId, name=None, description=None)
editManagedChannel(channelId, name=None, instance=None, timeout=None, status=None)
editManagedVolume(volumeId, name=None)
editMember(email, organizationId, role)
editOrganization(organizationId, name)
editWorkspace(workspaceId, name=None, channelIds=None)
errorhandler(response, call)
getAnalytics(analyticsId, datasetId, workspaceId)
getAnalyticsTypes()
getAnnotationFormats()
getAnnotationMaps(channelId)
getAnnotations(workspaceId, datasetId, annotationId)
getChannels(organizationId=None, workspaceId=None, channelId=None, verbose=False)
getDatasets(workspaceId, datasetId=None, name=None, email=None)
getDefaultGraph(channel)
getGANDataset(datasetId, workspaceId)
getGANModels(modelId)
getGraphs(workspaceId, graphId=None, name=None, email=None)
getManagedChannels(organizationId, channelId=None)
getManagedVolumes(organizationId, volumeId=None)
getMembers(organizationId=None, workspaceId=None)
getOrganizationLimits(organizationId, setting=None)
getOrganizationUsage(organizationId, year, month, workspaceId=None, member=None)
getOrganizations()
getPlatformLimits(tier=None, setting=None)
getVolumeData(volumeId, keys=[])
getVolumes(organizationId=None, volumeId=None)
getWorkspaceLimits(workspaceId, setting=None)
getWorkspaces(organizationId=None, workspaceId=None)
putVolumeData(volumeId, keys=[])
removeChannelOrganization(channelId, organizationId)
removeMember(email, organizationId=None, workspaceId=None)
removeVolumeOrganization(volumeId, organizationId)
setChannelGraph(channelId, workspaceId, graphId)
setOrganizationLimit(organizationId, setting, limit)
setPlatformLimit(tier, setting, limit)
setWorkspaceLimit(workspaceId, setting, limit)