Download the PHP package adamlc/wufoo-php-api-wrapper without Composer
On this page you can find all versions of the php package adamlc/wufoo-php-api-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adamlc/wufoo-php-api-wrapper
More information about adamlc/wufoo-php-api-wrapper
Files in adamlc/wufoo-php-api-wrapper
Package wufoo-php-api-wrapper
Short Description A PHP 5.3+ Wrapper for the WuFoo API
License MIT
Informations about the package wufoo-php-api-wrapper
Wufoo PHP API Wrapper
This is a fork of the original Wufoo PHP library. This fork has tried to make the library more modern by using proper name spaces and exceptions. This class follows PSR2 and PSR4.
Chances are I have probably broken some stuff. I haven't tested everything and there is still work to do, but its a start....
The Wufoo PHP API plugin is meant to help make working with the Wufoo API easier for PHP developers. It doesn't do anything that working directly with the API can't do, it just provides an abstraction layer making getting the information you need easier.
Composer
To install Wufoo PHP API Wrapper as a Composer package add this to your composer.json:
Run composer update
Basics
The API Wrapper is a collection of functions each for using a specific API. For example, this is how you would get data on your account's users:
Some APIs need more information to be able to return the information they are supposed to. For example, the Entries API needs to know what form to return data from. Each will be documented below.
Full API Documentation
Available here: http://wufoo.com/docs/api/v3/
Each API returns its own set of specific information which is all documented on Wufoo.com for reference.
Users
Information about all users:
Full documentation: http://wufoo.com/docs/api/v3/users/
Forms
Information about all forms:
Information about a specific form:
Full documentation: http://wufoo.com/docs/api/v3/forms/
Entries
Entries from a form:
Entries from a report:
Entries POST to a form:
Full documentation: http://wufoo.com/docs/api/v3/forms/post/
Full documentation: http://wufoo.com/docs/api/v3/entries/
Fields
Fields of a form:
Fields of a report:
Bear in mind that fields may have SubFields
, as is the case when using Wufoo-provided fields like Name, which has First and Last as subfields. Testing for SubFields and looping through those within the main loop while processing the data is a good idea.
Full documentation: http://wufoo.com/docs/api/v3/fields/
Comments
Comments are entered in the Wufoo.com Entry Manager.
Get comments from a form:
Full documentation: http://wufoo.com/docs/api/v3/comments/
Reports
Information about all reports:
Information about single form:
Full documentation: http://wufoo.com/docs/api/v3/reports/
Web Hook
Add a Web Hook to a form:
Delete a Web Hook from a form:
Full documentation: http://wufoo.com/docs/api/v3/webhooks/