Need help with pulling data from maxbounty's API output.

1 replies
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.
#api #data #maxbounty #output #pulling
  • Profile picture of the author kStarDacTeam
    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.
    {{ DiscussionBoard.errors[3887303].message }}

Trending Topics