code: public function getSpamStats($ipv4, $fromdate="2000-01-01 00:00:00", $todate="") {
  		if ($todate=="") $todate=date("Y-m-d 23:59:59",time());
  		return json_decode(self::getClient()->getSpamStats($this->getIP(),$ipv4, $fromdate, $todate));
  	}
docs: /*
  get stats of IP on SPAM
  
  return mixed