src/Ovh/Ip/Ip.php
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));
	}
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));
	}
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 ) ) ; }
/*
get stats of IP on SPAM

return mixed
/ * get stats of IP on SPAM