Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

PHP Library for Sendy API
  • Vote Up0Vote Down JakeBennettJakeBennett
    Posts: 2Sendy user

    Make talking to the Sendy API easy

    I recently took the time to write a little PHP class that we have been using to talk to our sendy installation from separate sites. The class abstracts the behind the scenes stuff that has to go on to talk to the Sendy API programmatically.

    AJAX calls without the headache

    I am planning to add JSON responses using this as well so that you could make AJAX calls to this library from any page on your site without having to worry about XSS garbage and modifying the ACCESS headers in your subscribe.php and unsubscribe.php pages on your sendy installation.

    Download it and/or Contribute

    Check it out on GitHub, make some suggestions on improvements, and contribute!

  • Vote Up0Vote Down BenBen
    Posts: 3,360Sendy support

    Thanks Jake, for contributing your efforts.

    I'll play with this when I get some time. :)


  • Vote Up0Vote Down awsnetawsnet
    Posts: 3Sendy user


    Your constructor has a bug. You have "if (!isset($this->$installation_url))" and should be "if (!isset($this->installation_url))" no $ for installation_url.

  • Vote Up0Vote Down blingerblinger
    Posts: 3Sendy user

    awesome, thanks a lot!

This discussion has been closed.
All Discussions