statistics.doccount

Operation: GET /dataservice/statistics/doccount

Get response count of a query

def get_count_12(query: str) -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.statistics.doccount.get_count_12()

Operation: POST /dataservice/statistics/doccount

Get response count of a query

def get_count_post_13(payload: Optional[Any] = None) -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.statistics.doccount.get_count_post_13()