public static function API::method__get_antispam_report_breif in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 src/lib/Cleantalk/Common/API.php \Cleantalk\Common\API::method__get_antispam_report_breif()
* Wrapper for get_antispam_report_breif API method. * Ggets spam statistics. * *
Parameters
string $api_key: * @param bool $do_check * * @return array|bool|mixed
File
- src/
lib/ Cleantalk/ Common/ API.php, line 121
Class
- API
- CleanTalk API class. Mostly contains wrappers for API methods. Check and send mehods. Compatible with any CMS.
Namespace
Cleantalk\CommonCode
public static function method__get_antispam_report_breif($api_key, $do_check = true) {
$request = array(
'method_name' => 'get_antispam_report_breif',
'auth_key' => $api_key,
);
$result = static::send_request($request);
$result = $do_check ? static::check_response($result, 'get_antispam_report_breif') : $result;
return $result;
}