mediatoolkit / activecampaign-v3-php Goto Github PK
View Code? Open in Web Editor NEWActive Campaign v3 PHP Wrapper
License: MIT License
Active Campaign v3 PHP Wrapper
License: MIT License
In the Contacts class, removeAutomation function :
'/api/3/contactAutomation/' should be '/api/3/contactAutomations/'
Hello, I'm was struggling with an error with the namespaces, in my mac environment works fine the package but when I upload it to my server with Linux the namespaces was not working. So I renamed the folders to case-sensitive form from lists to Lists for example.
Are you agree of that?
Hi I have some problem. On the local PC its work fine. But when I opload to server its not working.
I try to find error. But I don't see it.
Where I can get information about it.
public function listTags(int $id)
{
$req = $this->client
->getClient()
->get('/api/3/contacts/' . $id . '/contactTags' );
return $req->getBody()->getContents();
}
First of all thank you for making this wrapper.
The issue that I'm facing is which ever class object I'm trying to intialize from the sdk I get the class not found error except for the Client.php class.
The issue can be resolved by matching the directory name and the class namespace.
e.g namespace Mediatoolkit\ActiveCampaign\Contacts;
should be namespace Mediatoolkit\ActiveCampaign\contacts;
namespace Mediatoolkit\ActiveCampaign\Deals;
should be namespace Mediatoolkit\ActiveCampaign\deals;
First, thanks for making this client library!
Currently, ActiveCampaign sets a rate limit of 5 requests per second. It seems that a 503
response code is returned once this limit is reached. It would be helpful if by default a rate limiter were attached to the Guzzle client instance.
As a suggestion, this is a middleware package that seems promising https://github.com/spatie/guzzle-rate-limiter-middleware.
Thanks!
Hi, news about psr-4 autoloading standard ? i'm Still get that error
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Contacts\Contacts located in ./vendor/mediatoolkit/activecampaign-v3-php/src/contacts/Contacts.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Organizations\Organizations located in ./vendor/mediatoolkit/activecampaign-v3-php/src/organizations/Organizations.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Tracking\SiteTracking located in ./vendor/mediatoolkit/activecampaign-v3-php/src/tracking/SiteTracking.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Tracking\EventTracking located in ./vendor/mediatoolkit/activecampaign-v3-php/src/tracking/EventTracking.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Tags\Tags located in ./vendor/mediatoolkit/activecampaign-v3-php/src/tags/Tags.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Lists\Lists located in ./vendor/mediatoolkit/activecampaign-v3-php/src/lists/Lists.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Deals\Deals located in ./vendor/mediatoolkit/activecampaign-v3-php/src/deals/Deals.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Contacts.php#321 should be /api/3/contactAutomations/'
Can you add the findEmail function ?
public function findEmail(string $email)
{
$req = $this->client
->getClient()
->get('/api/3/contacts/?search=' . $email);
return $req->getBody()->getContents();
}
@atomasevic Could you make a new minor release with the updates made to date?
thanks ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.