PHP Library for Sendy API
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!
This discussion has been closed.
Comments
Thanks Jake, for contributing your efforts.
I'll play with this when I get some time.
Ben
Jake
Your constructor has a bug. You have "if (!isset($this->$installation_url))" and should be "if (!isset($this->installation_url))"
no $ for installation_url.
awesome, thanks a lot!