ActiveCampaign / activecampaign-api-php

MIT License
115 stars 76 forks source link

contact/automation/list not included in this SDK #36

Closed apeiniger closed 8 years ago

apeiniger commented 8 years ago

I tried to access the contact_automation_list endpoint from the AC API (http://www.activecampaign.com/api/example.php?call=contact_automation_list) but couldn't find the corresponding function here, so it throws an error. Could this be added?

apeiniger commented 8 years ago

Any news on this? Should actually be a pretty quick addition in the Contact.class.php:

function automation_list($params) { $request_url = "{$this->url}&api_action=contact_automation_list&api_output={$this->output}&{$params}"; $response = $this->curl($request_url); return $response; }

femiagbabiaka commented 8 years ago

Hello! Sorry about the delay on this, I'll be pushing the changes shortly.

apeiniger commented 8 years ago

Awesome, thanks :)