Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Need help with pulling data from maxbounty's API output. (https://www.warriorforum.com/programming/381044-need-help-pulling-data-maxbountys-api-output.html)

xaxistech 14th May 2011 10:50 PM

Need help with pulling data from maxbounty's API output.
 
I'm just screwing around with PHP and need a few pointers. As of right now, this is my code to get the data from maxbounty.
Code:

<?php
require_once('nusoap/lib/nusoap.php');
 = "dgfdg";
 = "fgfgfdg";
 = "";
 = new SoapClient("http://www.maxbounty.com/api/api.cfc?wsdl");
 = (, );

 = (, );
 = (, );
 = (, );
 = (, );

var_dump();
echo "<HR>";
var_dump();
echo "<HR>";
var_dump();
echo "<HR>";
var_dump();

unset();
?>

This is the output
Code:

array(2) { [0]=> array(5) { ["EARNINGS"]=> string(5) "$540.50" ["CLICKS"]=> int(753) ["LEADS"]=> int(0) ["SUB_ID"]=> string(0) "" ["EPC"]=> string(5) "$0.34" } [1]=> array(5) { ["EARNINGS"]=> string(5) "$549.00" ["CLICKS"]=> int(721) ["LEADS"]=> int(130) ["SUB_ID"]=> string(11) "youtube" ["EPC"]=> string(5) "$0.40" } }

I NEED to know the following.

I need code to display only my daily earnings, monthly, and epc, ect.
What code do I need to just pull that information, also, how can it put it in another file and have it call that file and search it?

Also, a html code for this would be nice, to convert it into at least.

kStarDacTeam 15th May 2011 01:25 AM

Re: Need help with pulling data from maxbounty's API output.
 
Your given code seems to be incomplete... You need to tell use which function from the maxbounty API you're trying to use.

I'll be glad to help if you can provide more details.


All times are GMT -6. The time now is 09:56 PM.