Questions? Feedback? powered by Olark live chat software

Newsman API Page

Newsman API » Newsman API 1.0 » Account » account.live_counters

Newsman Api Method: account.live_counters

Prototype: account.live_counters($key, $account_id, $start_date, $stop_date, $unit)

Description: Returns the counters for this account between "start_date" and "stop_date" grouped by "unit" without considering the send date of actions.

Return: struct

Variable Type Description
$key string API key
$account_id string
$start_date date or datetime
$stop_date date or datetime
$unit string must be ‘days’ or ‘hours’

Curl Code Example

curl -G https://cluster.newsmanapp.com/api/1.0/account.live_counters \
	-d key=vvjksdnsd8i348392dcd023326f02392sdknsosd \
	-d account_id=test90210 \
	-d start_date=2013-10-07 \
	-d stop_date=2013-10-12 \
	-d unit=days