Location: PHPKode > scripts > Retrieve Adsense Earnings > example.php
<?php
	include ( 'adsense.class.php' );
	
	$adsense = new Adsense ( "hide@address.com", "YouPassword" );
	$earnings = $adsense -> retrieve ( 'today' );
	
	echo $earnings['earnings'];
	
	$adsense -> destroy ();
?>
Return current item: Retrieve Adsense Earnings