Count users matching filters
raw_users.count(RawUserCountParams**kwargs) -> RawUserCountResponse
POST/raw/users/count
Count users in the database matching filters. Counts are capped at minimum (10k) and maximum (1M). Requires RAW service. Credits: 1 per request.
Parameters
Returns
Count users matching filters
import os
from bountylab import Bountylab
client = Bountylab(
api_key=os.environ.get("BOUNTYLAB_API_KEY"), # This is the default and can be omitted
)
response = client.raw_users.count(
filters={
"field": "field",
"op": "Eq",
"value": "string",
},
)
print(response.count){
"count": 0,
"truncated": true
}Returns Examples
{
"count": 0,
"truncated": true
}