Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API urls need to be updated #58

Open
AndLeeDavis opened this issue Aug 21, 2020 · 0 comments
Open

API urls need to be updated #58

AndLeeDavis opened this issue Aug 21, 2020 · 0 comments

Comments

@AndLeeDavis
Copy link

Old URL:

`public function getCampaignInfo($id)
{
if (empty($id)) {
return $this->handleError('Empty campaign id');
}

    $requestResult = $this->sendRequest('campaigns/' . $id);

    return $this->handleResult($requestResult);
}

`

Latest Works:

`public function getCampaignInfo($id)
{
if (empty($id)) {
return $this->handleError('Empty campaign id');
}

    $requestResult = $this->sendRequest('push/tasks/' . $id);

    return $this->handleResult($requestResult);
}

`
See - https://sendpulse.com/integrations/api/web-push#statistics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant