Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Add low-level function to API for fast subscribe #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lano1106
Copy link

This allows to reduce the number of HTTP requests required to add subscriber
from 4 to 1.

Example of usage is:

application = new AWeberAPI($consumerKey, $consumerSecret);
$application->setUser($accessToken, $accessSecret);
$subscribersUrl = "/accounts/$accountid/lists/$listid/subscribers";
application->createToUrl($subscribersUrl, $subscriber);

This allows to reduce the number of HTTP requests required to add subscriber
from 4 to 1.

Example of usage is:

application = new AWeberAPI($consumerKey, $consumerSecret);
$application->setUser($accessToken, $accessSecret);
$subscribersUrl = "/accounts/$accountid/lists/$listid/subscribers";
application->createToUrl($subscribersUrl, $subscriber);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant