Download the PHP package wondeotec/emailbidding-sdk-legacy without Composer
On this page you can find all versions of the php package wondeotec/emailbidding-sdk-legacy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wondeotec/emailbidding-sdk-legacy
More information about wondeotec/emailbidding-sdk-legacy
Files in wondeotec/emailbidding-sdk-legacy
Package emailbidding-sdk-legacy
Short Description Collection of scripts to allow interactions with Emailbidding API (Guzzle 3 port)
License MIT
Homepage https://github.com/wondeotec/emailbidding-sdk-legacy
Informations about the package emailbidding-sdk-legacy
Emailbidding SDK (Guzzle 3 port)
This SDK serves to help Emailbiddings's publishers to integrate their systems with Emailbidding platform.
Note: This is a fork of wondeotec/emailbidding-sdk that uses Guzzle 3 instead of Guzzle 4+
Requirements
You'll need to be install on your server the PHP 5.4 version or higher and add the package 'wondeotec/emailbidding-sdk' to you composer dependencies.
Webhooks
If you are an Emailbidding publisher, then you can subscribe an endpoint and listen Emailbidding's events such as unsubscriptions, soft bounces, hard bounces, clicks or even opens.
This SDK helps you on testing your test to be able to receive an webhook event. Emailbidding system always send an HTTP POST request to the given endpoint with an JSON object on body identical to the following:
This SDK provides you an object to send webhooks to your endpoint in the same way as the Emailbidding system will send to you on the production environment.
The object 'EB\SDK\Webhook\Webhook' has a single method that accepts a payload and and endpoint. You can create an object of type 'EB\SDK\Webhook\Payload', or you just can 'ask' to 'EB\SDK\Webhook\Payload' to create an simple object to you. See the following example:
Recipient subscribe
Emailbidding recipient subscribe API allow you to upload your database to Emailbidding platform. You have to distinct methods to submit your recipients: simple and anonymous integration. This SDK helps you on the integration providing you an 'EB\SDK\RecipientSubscribe\RecipientSubscribe' object that you can instantiate with 'EB\SDK\RecipientSubscribe\Recipient' objects and then you just need to post the recipients data to Emailbidding. Take the following example in consideration:
For more examples you can clone the following project from github: https://github.com/wondeotec/sample-emailbidding-sdk