Free PHP script to print all your earnings from various ad networks!

Discussion in 'Affiliate Programs' started by Tinkleondabeach, Feb 5, 2014.

?

Can this be useful to you?

  1. Yes

    100.0%
  2. No

    0 vote(s)
    0.0%
  1. #1
    Hello there publishers :)

    I am working on a PHP class that can easily track and pull your earnings from your affiliate networks. This would spit out all your earnings from various networks onto one page. It will be open source and was wondering if anybody here would use it.

    Example Screenshot: http://i.imgur.com/l6bip6l.png

    Example Code Usage:
    
    $adnooka = new Adnooka("pubemail", "base64pw");
    $adnooka->printEarnings();
    
    $adscend = new AdscendMedia("pubemail",base64pw");
    $adscend->printEarnings();
    
    $awm = new AdworkMedia("pubid","apikey");
    $awm->printEarnings();
    
    $cpagrip = new CPAgrip("pubemail", "base64pw");
    $cpagrip->printEarnings();
    
    $cpalead = new CPAlead('pubemail','statskey');
    $cpalead->printEarnings();
    
    $total = new TotalEarnings(array($adnooka,$adscend,$awm,$cpagrip,$cpalead));
    $total->printEarnings();
    
    echo "Today's Total Earnings: " . $total->getEarningsToday();
    
    
    Code (markup):
    UPDATE:

    The source code for this project is now available!

    Please fork via: https://github.com/itscurt/Earnings
     
    Tinkleondabeach, Feb 5, 2014 IP
    CoreyPeerFly likes this.
  2. webmoney

    webmoney Well-Known Member

    Messages:
    1,119
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Very good idea, I know there is SW doing the same but its with monthly subscription...
     
    webmoney, Feb 17, 2014 IP
  3. Tinkleondabeach

    Tinkleondabeach Well-Known Member

    Messages:
    378
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    170
    Digital Goods:
    2
    #3
    Link me to that website and I'll try to match its features :)
     
    Tinkleondabeach, Feb 17, 2014 IP
  4. webmoney

    webmoney Well-Known Member

    Messages:
    1,119
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    155
    #4
    it is niftystats.com
     
    webmoney, Feb 17, 2014 IP
  5. Usman Chohan

    Usman Chohan Greenhorn

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    6
    #5
    hmmmmmmm nice and creative idea hope your project will boom
     
    Usman Chohan, Feb 23, 2014 IP