Today we released a big round of updates to our API documentation and code samples to make it even easier to connect your Campaign Monitor account with your own web sites and applications. If you’re a back-end developer that’s right into this stuff, here’s the scoop on what we’ve changed:
We’ve done a complete overhaul on the documentation for every method available in the API. Each method will now include the related samples that feature the method, the parameters used, return codes and sample requests and responses for SOAP, POST and GET. Check out the Subscriber.Add method to get an idea of what you can expect.
Thanks to incredibly generous Campaign Monitor customer and PHP developer Kaiser Shahid, we now have an all-inclusive PHP package that supports SOAP, GET and POST seamlessly. The sample also includes a complete set of functions that encapsulate every method available in the API.
All you Flash developers out there will be pleased to know that we’ve now got a much improved Flash sample ready for download. Kindly developed by Ben and the talented team at DNA Design, the sample includes a standard subscribe form as well as a more complex version supporting custom fields. The sample has also been coded in a way that makes it easy to use any of the other methods available in the API.
For the .NET samples we have created a VisualStudio.NET 2003 project that includes example pages calling some of the different API methods available. The pages use standard ASP.NET controls and are written using the Code-Behind model. This project will also work with all newer versions of Visual Studio. We’ve also changed the samples from traditional desktop applications to web pages.
For all those ColdFusion developers we’ve now got a great API sample that includes a standards subscribe form and a more complex one supporting custom fields. The sample code will also be easy to modify to adopt any of the other methods supported by the API.